diff options
author | Karl Williamson <khw@cpan.org> | 2016-04-08 12:13:06 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-05-09 11:13:49 -0600 |
commit | 1656665e748b80ad0727244ca0eae788f521f64f (patch) | |
tree | 345c0e8a3a49e28cc2ca78eb3c081839983714e7 /t/re/pat_advanced.t | |
parent | a27615d67331a9b30d8e49e84614dffb27b77acc (diff) | |
download | perl-1656665e748b80ad0727244ca0eae788f521f64f.tar.gz |
Require literal '{' in patterns to be escaped
This has been deprecated since v5.16, with a deprecation message
displayed starting in v5.22.
Diffstat (limited to 't/re/pat_advanced.t')
-rw-r--r-- | t/re/pat_advanced.t | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/t/re/pat_advanced.t b/t/re/pat_advanced.t index 6e0b0dae76..74aed91124 100644 --- a/t/re/pat_advanced.t +++ b/t/re/pat_advanced.t @@ -1159,11 +1159,6 @@ sub run_tests { } { - # \, breaks {3,4} - no warnings qw{deprecated regexp}; - ok "xaaay" !~ /xa{3\,4}y/, '\, in a pattern'; - ok "xa{3,4}y" =~ /xa{3\,4}y/, '\, in a pattern'; - # \c\ followed by _ ok "x\c_y" !~ /x\c\_y/, '\_ in a pattern'; ok "x\c\_y" =~ /x\c\_y/, '\_ in a pattern'; |