node-pcre
node-pcre copied to clipboard
A pcre binding for node.js
_
_
I am getting the following error while installing: ``` > node-gyp rebuild CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_byte_order.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_chartables.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_compile.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_config.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_exec.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_fullinfo.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_get.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_globals.o CC(target) Release/obj.target/libpcre/deps/libpcre/pcre_jit_compile.o...
No README at https://www.npmjs.com/package/pcre and here 3 years without commits... There are another better or faster way to use PCRE with NodeJS??
Readme file lacks of information about it.
Fails to compile on 0.11.13.
doing ``` js var re = new Pcre( '.' ); re.execAll( "foobar" ); ``` gives me ``` node(1636,0x7fff7375e180) malloc: *** error for object 0x100000000: pointer being freed was not allocated...
Just to let you know that I've published a class with extended functionality over node-pcre so it has better integration with String and also replace, replaceAll and split. https://github.com/Perennials/junkyard/tree/master/preg-node
Can you add support for using the libuv threadpool so these regexs can run in parallel? We don't want parsing a 20MB file to happen in the main thread