NYCPHP Meetup

NYPHP.org

[nycphp-talk] RegExp Assistance

Chris Shiflett shiflett at php.net
Thu Mar 1 11:25:14 EST 2007


Hi Aaron,

> I use the regexp from Chris's Essential PHP Security book:
> http://phpsecurity.org/

Cool. :-)

I actually prefer Cal Henderson's pattern, because he meticulously
crafted it from the RFC, and it's still reasonably short. The one in my
book works well, but it's slightly more lenient than necessary.

If/when I write a second edition, I'll likely point readers to Cal's
pattern or perform the same exercise.

Chris

-- 
Chris Shiflett
http://shiflett.org/



More information about the talk mailing list