[Project_owners] Most useful regular expressions?

Konstantin Svist fry.kun at gmail.com
Wed May 25 23:09:06 EDT 2005


the ones I use most frequently are email/URL/date matching ones...
and then every other string match -- I did a comparison at some point
and noticed that regexp matching was faster than simple string
matching. i should probably retest that, since that was a few years
ago


~Konstantin


On 5/25/05, Alex Vincent <ajvincent at gmail.com> wrote:
> I'm wondering what regular expressions you guys have hit that were
> just invaluable.  For instance, I wrote /\S/ to detect for
> non-whitespace characters in text nodes.  That proved useful for
> removing whitespace text nodes from XML documents.
> --
> "The first step in confirming there is a bug in someone else's work is
> confirming there are no bugs in your own."
> -- Alexander J. Vincent, June 30, 2001
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org 
> http://mozdev.org/mailman/listinfo/project_owners 
>


More information about the Project_owners mailing list