diff options
Diffstat (limited to 'src')
| -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 38824370e05..794958eb461 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c | |||
| @@ -2007,7 +2007,7 @@ regex_compile (re_char *pattern, ptrdiff_t size, | |||
| 2007 | if (*p == ':') | 2007 | if (*p == ':') |
| 2008 | { | 2008 | { |
| 2009 | re_char *q = p + 1; | 2009 | re_char *q = p + 1; |
| 2010 | while (q != pend && *q != ']') | 2010 | while (q != pend && *q != ']' && *q != '-') |
| 2011 | { | 2011 | { |
| 2012 | if (*q == ':') | 2012 | if (*q == ':') |
| 2013 | { | 2013 | { |