This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd90170
)
(??{ }) anomaly
author
Yitzchak Scott-Thoennes
<sthoenna@efn.org>
Sun, 3 Feb 2002 20:21:45 +0000
(12:21 -0800)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 4 Feb 2002 13:30:55 +0000
(13:30 +0000)
Message-ID: <ZxgX8gzkgCXO092yn@efn.org>
p4raw-id: //depot/perl@14547
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
2283d10
..
7850492
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-2168,6
+2168,8
@@
S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp)
/* FALL THROUGH*/
case '?': /* (??...) */
logical = 1;
+ if (*RExC_parse != '{')
+ goto unknown;
paren = *RExC_parse++;
/* FALL THROUGH */
case '{': /* (?{...}) */