summaryrefslogtreecommitdiff
path: root/src/regex-emacs.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-02-27 18:29:43 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2020-02-27 18:58:05 +0100
commit4859e8db9b518034418f536c5bab3f30cb4714e3 (patch)
tree1eb0e4909cfcdba2c021d772713d24ea3b83e607 /src/regex-emacs.c
parent77f69a90bfe1d605765803debdc30436115f2b72 (diff)
downloademacs-4859e8db9b518034418f536c5bab3f30cb4714e3.tar.gz
Revert "Don't complain about the regexp "[:-:]""
Diffstat (limited to 'src/regex-emacs.c')
-rw-r--r--src/regex-emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 794958eb461..38824370e05 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -2007,7 +2007,7 @@ regex_compile (re_char *pattern, ptrdiff_t size,
if (*p == ':')
{
re_char *q = p + 1;
- while (q != pend && *q != ']' && *q != '-')
+ while (q != pend && *q != ']')
{
if (*q == ':')
{