Mercurial > emacs
comparison src/search.c @ 55689:f4a937a898f4
(trivial_regexp_p): \_ is no longer a trivial regexp.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 19 May 2004 16:32:59 +0000 |
parents | 824b5057fbca |
children | e63446aad5a3 |
comparison
equal
deleted
inserted
replaced
55688:25f6dc21c965 | 55689:f4a937a898f4 |
---|---|
955 return 0; | 955 return 0; |
956 switch (*s++) | 956 switch (*s++) |
957 { | 957 { |
958 case '|': case '(': case ')': case '`': case '\'': case 'b': | 958 case '|': case '(': case ')': case '`': case '\'': case 'b': |
959 case 'B': case '<': case '>': case 'w': case 'W': case 's': | 959 case 'B': case '<': case '>': case 'w': case 'W': case 's': |
960 case 'S': case '=': case '{': case '}': | 960 case 'S': case '=': case '{': case '}': case '_': |
961 case 'c': case 'C': /* for categoryspec and notcategoryspec */ | 961 case 'c': case 'C': /* for categoryspec and notcategoryspec */ |
962 case '1': case '2': case '3': case '4': case '5': | 962 case '1': case '2': case '3': case '4': case '5': |
963 case '6': case '7': case '8': case '9': | 963 case '6': case '7': case '8': case '9': |
964 return 0; | 964 return 0; |
965 } | 965 } |