However, there are several other common letters that aren't matched. So, how do I go about matching as many as possible without having to add them all to a variable/array?
I have several text fields where the user can enter a name, and I expect lots of international visitors. So, either I limit it to just A-Z (which I don't want to do), or I include as many as possible...
I understand that it's impossible to include all valid letters, but I'd like to cover as many as possible.
I'm thankful for any pointers/suggestions/examples...
[url=http://www.perldoc.com/perl5.8.0/pod/func/use.html]use[/url] [url=http://www.perldoc.com/perl5.8.0/lib/locale.html]locale[/url]; [url=http://www.perldoc.com/perl5.8.0/pod/perllocale.html#The-setlocale-function]setlocale[/url]; lets you adjust what Perl [perl.com] considers a word character. There is an example in the Perl [perl.com] docs I linked to. HTH Andreas