projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
59e6573
)
Fail regex that starts with '{'
Chip Salzenberg [Mon, 13 Jan 1997 01:17:21 +0000 (13:17 +1200)]
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
bbb7c8e
..
2f3fb40
100644
(file)
--- 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) {