diff options
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -282,7 +282,7 @@ make_regexp(const char *s, size_t len, bool ignorecase, bool dfa, bool canfatal) } for (i = len - 1; i >= 0; i--) { - if (strchr("*+|?", buf[i]) != NULL) { + if (strchr("*+|?{}", buf[i]) != NULL) { rp->maybe_long = true; break; } |