diff options
| -rw-r--r-- | src/regex-emacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c index e3237cd425a..fea34df991b 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c | |||
| @@ -2597,7 +2597,7 @@ regex_compile (re_char *pattern, ptrdiff_t size, | |||
| 2597 | 2597 | ||
| 2598 | /* If followed by a repetition operator. */ | 2598 | /* If followed by a repetition operator. */ |
| 2599 | || (p != pend | 2599 | || (p != pend |
| 2600 | && (*p == '*' || *p == '+' || *p == '?' || *p == '^')) | 2600 | && (*p == '*' || *p == '+' || *p == '?')) |
| 2601 | || (p + 1 < pend && p[0] == '\\' && p[1] == '{')) | 2601 | || (p + 1 < pend && p[0] == '\\' && p[1] == '{')) |
| 2602 | { | 2602 | { |
| 2603 | /* Start building a new exactn. */ | 2603 | /* Start building a new exactn. */ |