emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/regex.c


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/regex.c
Date: Sun, 05 Dec 2004 18:51:22 -0500

Index: emacs/src/regex.c
diff -c emacs/src/regex.c:1.196 emacs/src/regex.c:1.197
*** emacs/src/regex.c:1.196     Fri Nov 19 19:47:39 2004
--- emacs/src/regex.c   Sun Dec  5 23:34:16 2004
***************
*** 2558,2565 ****
              }
            /* If the spaces are followed by a repetition op,
               treat them normally.  */
!           if (p1 == pend
!               || (*p1 == '*' || *p1 == '+' || *p1 == '?'
                    || (*p1 == '\\' && p1 + 1 != pend && p1[1] == '{')))
              goto normal_char;
  
--- 2558,2565 ----
              }
            /* If the spaces are followed by a repetition op,
               treat them normally.  */
!           if (p1 != pend
!               && (*p1 == '*' || *p1 == '+' || *p1 == '?'
                    || (*p1 == '\\' && p1 + 1 != pend && p1[1] == '{')))
              goto normal_char;
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]