diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-02-28 08:54:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-02-28 08:54:05 +0000 |
commit | 67edc0c91ee3ef38039f1866e961b39269714a4a (patch) | |
tree | cb994aea8740d9684723aca5ed673a1165b77d9f /toke.c | |
parent | e44c95bb96e4819206b25a8b74f5b8c4069c432d (diff) | |
download | perl-67edc0c91ee3ef38039f1866e961b39269714a4a.tar.gz |
(?p{}) has been deprecated for a long time.
Remove it, so people are not confused with regard to the
new /p regexp modifier.
p4raw-id: //depot/perl@30424
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2024,7 +2024,7 @@ S_scan_const(pTHX_ char *start) *d++ = NATIVE_TO_NEED(has_utf8,*s++); } else if (s[2] == '{' /* This should match regcomp.c */ - || ((s[2] == 'p' || s[2] == '?') && s[3] == '{')) + || (s[2] == '?' && s[3] == '{')) { I32 count = 1; char *regparse = s + (s[2] == '{' ? 3 : 4); |