summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index bbb7c8e444..2f3fb40b97 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -767,7 +767,8 @@ tryagain:
case '?':
case '+':
case '*':
- FAIL("?+* follows nothing in regexp");
+ case '{':
+ FAIL("?+*{} follows nothing in regexp");
break;
case '\\':
switch (*++regparse) {