develooper Front page | perl.perl5.porters | Postings from September 2011

Re: Regex warning

Thread Previous | Thread Next
David Nicol
September 21, 2011 14:03
Re: Regex warning
Message ID:
>>>> $ bleadperl -we'$_="{";m/\b$_\b/'
>>>> "\b{" is deprecated; use "\b\{" instead in regex; marked by<-- HERE in m/\<-- HERE b{\b/ at -e line 1.

I'm curious -- what is the deprecated meaning of "\b{" ? Was it
introduced after 5.10? Is there a plan to, in the future, let \b take
an optional curly-delimited argument?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About