in reply to Regular expression or module to use only language character

so you want the first and last name to only contain allowable unicode characters, or only a subset of these characters in use in certain languages? if the latter, this would be most difficult, as there are many (unicode) characters that cross boundaries. if you're trying to do it the old fashioned way with the legacy ansi encoded extensions, it would still be quite hard. even harder if you wanted to make sure that first name character set (language) used matches the surname. especially that some people adjust their first names to match local language, say having emigrated. in the end you'll avoid difficulty just by boiling it down to something simple, like checking that both first and last name contain UTF-8 characters or such.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re: Regular expression or module to use only language character