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

Re: RFC: /w pattern modifier

Thread Previous | Thread Next
From:
Ed Avis
Date:
February 10, 2015 10:35
Subject:
Re: RFC: /w pattern modifier
Message ID:
loom.20150210T113327-73@post.gmane.org
Karl Williamson <public <at> khwilliamson.com> 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 <eda@waniasset.com>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About