in reply to Re: Character class for French chars with accents in regex?
in thread Character class for French chars with accents in regex?
There are at least two downsides to that method worth mentioning.
First, it allows similar looking characters to be used. For example, there's a cyrillic letter that looks almost identical to the latin 'a'. If the regexp is used to limit valid user names, it wouldn't stop one user from impersonating another by creating a similar looking user name.
Secondly, it may allow characters that users have no easy way of entering into forms and characters that some/many users are unable to render.
The severity of these downsides depends on the purpose of the regexp.
Update: Here are some similar looking strings, but each is different:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Character class for French chars with accents in regex?
by clinton (Priest) on Aug 09, 2007 at 19:03 UTC | |
by Anonymous Monk on Aug 10, 2007 at 11:44 UTC |