diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-03 02:19:50 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-03 02:19:50 +0000 |
commit | 14455d6cc193f1e4316f87b9dbe258db24ceb714 (patch) | |
tree | 0722cfd9590d6e717d6a7f06bbb534593146dee6 /toke.c | |
parent | 36f31b5005f0d5567cbdeeea5b6180abf2936b23 (diff) | |
download | perl-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 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1270,7 +1270,7 @@ S_scan_const(pTHX_ char *start) while (s < send && *s != ')') *d++ = *s++; } else if (s[2] == '{' - || s[2] == 'p' && s[3] == '{') { /* This should march regcomp.c */ + || s[2] == '?' && s[3] == '{') { /* This should march regcomp.c */ I32 count = 1; char *regparse = s + (s[2] == '{' ? 3 : 4); char c; |