Hello. I've written a couple of regular expression pattern strings and was wondering if someone could evaluate them to see if they are complete enough. I've written them to evaluate a first name field and also a description field (for a real estate listing).
Basically, they look complete to me, but I was wondering if anyone could see whether there are some cases that are legal but wouldn't pass my tests. Or if there are certain cases that shouldn't pass my test, but do. Here they are:
First name:
[a-zA-Z[:space:]-`']{1,15}$
Description field:
[[:blank:][:punct:][:alnum:]]{1,240}$
Thanks.