aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index a23e7f6c..fb28c563 100644
--- a/re.c
+++ b/re.c
@@ -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;
}