summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-03 02:19:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-03 02:19:50 +0000
commit14455d6cc193f1e4316f87b9dbe258db24ceb714 (patch)
tree0722cfd9590d6e717d6a7f06bbb534593146dee6 /regcomp.c
parent36f31b5005f0d5567cbdeeea5b6180abf2936b23 (diff)
downloadperl-14455d6cc193f1e4316f87b9dbe258db24ceb714.tar.gz
/(?p{})/ changed to /(??{})/, per Larry's suggestion (from
Simon Cozens <simon@othersideofthe.earth.li>) p4raw-id: //depot/perl@5467
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 271c20c8f6..f4fcaa9073 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -1734,7 +1734,7 @@ S_reg(pTHX_ I32 paren, I32 *flagp)
nextchar();
*flagp = TRYAGAIN;
return NULL;
- case 'p':
+ case '?':
logical = 1;
paren = *PL_regcomp_parse++;
/* FALL THROUGH */