[nycphp-talk] validating proper name capitalization
Christopher R. Merlo
cmerlo at ncc.edu
Fri Sep 23 14:53:47 EDT 2011
Once upon a time, I had students writing a Name class do all sorts of funky
validation and auto-correction, even checking for "Mc", "Mac", "De", and
"de" specifically. It's an awful chore, and it seemed like every semester
someone thought of a valid name that my hardcore regex missed. Now I use
different examples altogether. :)
-c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110923/eef9a01b/attachment.html>
More information about the talk
mailing list