Bug#857516: repeat counts should be able to use hex

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun Mar 12 05:13:28 UTC 2017


Package: perl
Version: 5.24.1-1
Severity: wishlist

This should be made to work:

$ perl -wle '$k=9 x 0xB; print $k if $k =~ /9{0xB}/;'
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/9{ <-- HERE 0xB}/ at -e line 1.

In fact the man pages don't say why it shouldn't.




More information about the Perl-maintainers mailing list