in reply to Character class for French chars with accents in regex?
From perlunicode:
Character classes in regular expressions match characters instead of bytes and match against the character properties specified in the Unicode properties database. \w can be used to match a Japanese ideograph, for instance.This helps when a user's name contains (eg) Ñ - it is still allowed even though it is not French.(However, and as a limitation of the current implementation, using \w or \W inside a ... character class will still match with byte semantics.)
Clint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Character class for French chars with accents in regex?
by ikegami (Patriarch) on Aug 09, 2007 at 18:59 UTC | |
by clinton (Priest) on Aug 09, 2007 at 19:03 UTC | |
by Anonymous Monk on Aug 10, 2007 at 11:44 UTC |