From: Chip Salzenberg Date: Mon, 13 Jan 1997 01:17:21 +0000 (+1200) Subject: Fail regex that starts with '{' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3115e423b9deb8a52c4e316da80b3a3279b6b4bb;p=p5sagit%2Fp5-mst-13.2.git Fail regex that starts with '{' --- diff --git a/regcomp.c b/regcomp.c index bbb7c8e..2f3fb40 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) {