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 /t/lib/warnings/regcomp | |
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 't/lib/warnings/regcomp')
-rw-r--r-- | t/lib/warnings/regcomp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/t/lib/warnings/regcomp b/t/lib/warnings/regcomp index 6818c6233c..f85aa440c4 100644 --- a/t/lib/warnings/regcomp +++ b/t/lib/warnings/regcomp @@ -2,10 +2,6 @@ Quantifier unexpected on zero-length expression [S_study_chunk] - (?p{}) is deprecated - use (??{}) [S_reg] - $a =~ /(?p{'x'})/ ; - - Useless (%s%c) - %suse /%c modifier [S_reg] Useless (%sc) - %suse /gc modifier [S_reg] @@ -171,22 +167,6 @@ EXPECT Unrecognized escape \z in character class passed through in regex; marked by <-- HERE in m/[a\z <-- HERE b]/ at - line 3. ######## -# regcomp.c [S_study_chunk] -use warnings 'deprecated' ; -$a = "xx" ; -$a =~ /(?p{'x'})/ ; -no warnings ; -use warnings 'regexp' ; -$a =~ /(?p{'x'})/ ; -use warnings; -no warnings 'deprecated' ; -no warnings 'regexp' ; -no warnings 'syntax' ; -$a =~ /(?p{'x'})/ ; -EXPECT -(?p{}) is deprecated - use (??{}) in regex; marked by <-- HERE in m/(?p <-- HERE {'x'})/ at - line 4. -(?p{}) is deprecated - use (??{}) in regex; marked by <-- HERE in m/(?p <-- HERE {'x'})/ at - line 7. -######## # regcomp.c [S_reg] use warnings 'regexp' ; $a = qr/(?c)/; |