Not really relevant, but this reminded me of Mads Ager's talk [1], from the V8 team, when V8 was a new thing. He talks about how they started with pcre internally, but then decided to write their own regex engine. Anyway, I found it interesting, you might wanna check it out.
[1] http://www.youtube.com/watch?v=FrufJFBSoQY#at=35m50s On 01/26/2013 11:40 PM, mscdex wrote: > Hello all, > > For those who need/want more regexp functionality, I've created a > binding to pcre. I already had a gypified pcre for my mmmagic addon, > so it wasn't too bad putting pcre into its own separate addon. > > Currently it builds on Windows, Linux, and OSX. BSD and *Solaris users > can send me a proper config.h (see the node-pcre readme for ./ > configure flags) that I can include to allow it to build on those > platforms as well. > > As far as performance goes, it really depends on the pattern. However > from what I've seen thus far, this binding is at a bit of a speed > disadvantage due to the crossing of the JS->C++ boundary and other > differences. But if you want more power than what the JS regexp engine > gives you, then I would say give this binding a try. > > github: https://github.com/mscdex/node-pcre > npm: `npm install pcre` > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en