diff options
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -767,7 +767,8 @@ tryagain: case '?': case '+': case '*': - FAIL("?+* follows nothing in regexp"); + case '{': + FAIL("?+*{} follows nothing in regexp"); break; case '\\': switch (*++regparse) { |