develooper Front page | perl.perl5.porters | Postings from February 2015

Re: RFC: /w pattern modifier

Thread Previous | Thread Next
Ed Avis
February 10, 2015 10:35
Re: RFC: /w pattern modifier
Message ID:
Karl Williamson <public <at>> writes:
>The use-case I was think of was someone using plain \b when they really 
>wanted \b{wb} in a program.

I think you should define an explicit \b{o} for 'ordinary' which is the
current semantics of \b.  Then people will be able to audit their code for
all uses of \b and either change it to \b{wb} or to \b{o}.  Perlcritic and
other tools will be able to help with that.

Ed Avis <>

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