Search posts, tags, users, and pages
Jason Knight
This regular expression meets all of those security requirements set by the internet people.
Except for lengths. :D
Sébastien Portebois
Definitely. I didn't take the time to battle test it, but when I read (\.[^<>()\[\]\\.,;:\s@"]+)*) in the sample above, I started to smell redos opportunities here
(\.[^<>()\[\]\\.,;:\s@"]+)*)