Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
# qr/{,n}/ is now accepted I find this code very unfortunate, what does it mean if the empty string can be repeated n times? This could better be either a syntax error. But I'm rather expecting Perl not reading the curlies as metas. from the delta
An empty lower bound is now accepted for regular expression quantifiers, like {,3}. so {,3} is the same like {0,3} or {1,3} ? please elaborate!
editto demonstrate my point
the curlies are taken literally! qr/{,3}/ was always allowed.
Cheers Rolf In reply to Re^2: Perl 5.34 is released (bad code example)
by LanX
|
|