NYCPHP Meetup

NYPHP.org

[nycphp-talk] RegExp Assistance

Aaron Fischer agfische at email.smith.edu
Thu Mar 1 11:49:00 EST 2007


Gotcha.  Thanks Chris, I'll take a look at Cal's pattern.  =)

BTW, big props for your book.  It's been extremely helpful.

-Aaron

On Mar 1, 2007, at 11:25 AM, Chris Shiflett wrote:

> 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.




More information about the talk mailing list