develooper Front page | perl.perl5.porters | Postings from October 2009

RE: What should \s \w \d match in 5.12?

Thread Previous | Thread Next
From:
Jan Dubois
Date:
October 5, 2009 12:37
Subject:
RE: What should \s \w \d match in 5.12?
Message ID:
014001ca45f3$3c24e1e0$b46ea5a0$@com
On Mon, 05 Oct 2009, demerphq wrote:
> And this is why we really really want \w and \s and \d to match the
> traditional thing, even if this means requiring people add something
> to older scripts to support the legacy behaviour. You cant tell what a
> pattern does by looking at it, you have to know the internal bit flags
> of the string involved.

Just to be sure: \b will continue to be defined based on \w and \W
and change its behavior as well, right?  I'm only asking because \b is
not explicitly listed in this discussion.

Cheers,
-Jan



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