develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [PATCH] Change meaning of \v, \V, and add \h, \H to match Perl6, add \R to match PCRE and unicode tr18

From:
Tom Christiansen
Date:
April 23, 2007 09:34
Subject:
Re: [PATCH] Change meaning of \v, \V, and add \h, \H to match Perl6, add \R to match PCRE and unicode tr18
Message ID:
20277.1177346011@chthon
> C<\w> matches a single I<word> character: an alphanumeric character
> (that is, an alphabetic character, or a digit), or the underscore (C<_>).
> What is considered a word character depends on the internal encoding
> of the string. If it's in UTF-8 format, C<\w> matches those characters
> that considered word characters in the Unicode database. That is, it
> not only matches ASCII letters, but also Thai letters, Greek letters, etc.

I think you something out. :-)

--tom



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