diff options
author | Chip Salzenberg <chip@atlantic.net> | 1997-01-13 13:17:21 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-01-16 07:24:00 +1200 |
commit | 3115e423b9deb8a52c4e316da80b3a3279b6b4bb (patch) | |
tree | 04e85750c46275af8692229c1b861d54c7cbd2ab /regcomp.c | |
parent | 59e65735b9de984ecd1e0594e28ff2a09ac6ddac (diff) | |
download | perl-3115e423b9deb8a52c4e316da80b3a3279b6b4bb.tar.gz |
Fail regex that starts with '{'
Diffstat (limited to 'regcomp.c')
-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) { |