node-re2
node-re2 copied to clipboard
node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.
We at [renovate](/renovatebot/renovate) are using `re2` and have users who like to use it on `ARM64` systems, so currently we would need to buildtools, as there are no prebuild binaries....
Bumps [node-gyp](https://github.com/nodejs/node-gyp) from 9.0.0 to 9.1.0. Release notes Sourced from node-gyp's releases. node-gyp v9.1.0 Features Update function getSDK() to support Windows 11 SDK (#2565) (ea8520e) Bug Fixes extend tap timeout...
Node-gyp can be quite a pain to use on Windows. Is it possible to make it node-gyp independent?
This PR based on #133 When I digging above issue, I found https://github.com/uhop/node-re2/pull/101#issuecomment-829322113 So tried to add typecheckers. Similar ways are used in https://github.com/octokit/types.ts/blob/725c32e3a3827d8e89a232fc09c7225fdaea84e0/test.ts.
it seems if you're on aarch64 (oracle free for example) and you use the snap node (cause it's convenient ya know), it installs without error when it actually has no...
Calling `exec()` multiple times with a Buffer input produces increasingly incorrect values for `.index`. (Tested on 1.20.8 / commit 4e985f9d13b2820b181df75a912b581a61eab006) This code: ```js const RE2 = require('./re2'); const r =...
I noticed a [very recent paper](https://arxiv.org/pdf/2311.17620.pdf) by @aurele-barriere & @cpitclaudel that describes an algorithm for js regex lookbehinds and lookarounds that isn't vulnerable to ReDoS. Think it'd be worth adding...
This should fix #194. It's not complete in that it does not include sufficient comments, testing, or benchmarking (beyond confirming that it fixes the scaling issue). It may even be...
## Observed behavior My goal is to get a list of all matches in a string. In production, switching from native regexes to RE2 caused an outage because RE2 has...
Some strict CI environments doesn't allow execute post-install scripts, this causes RE2 package to never download or build the native addon. Other restrictions include internet access where external requests other...