node-re2
grex
node-re2 | grex | |
---|---|---|
2 | 27 | |
469 | 6,640 | |
- | - | |
8.2 | 8.7 | |
2 months ago | 14 days ago | |
JavaScript | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-re2
-
[AskJS] Optional maximum evaluation time for RegExp
There are regex automata implementations like RE2 which guarantee execution in linear time and essentially solve this issue. You could consider node-re2 and re2-wasm if you're handling user-supplied regexes. Though note that back-tracking engines are faster on non-pathological input which is why they're the default.
-
Is there a node tutorial that's specifically made to show people how to use various popular C++ addons to improve performance?
A good way to approach writing native addons could be: * Read this intro article https://blog.sqreen.com/building-a-native-add-on-for-node-js-in-2019/ (disclaimer, I wrote this one) * Read the source code of some simple addon examples (https://github.com/uhop/node-re2, https://github.com/kelektiv/node.bcrypt.js#readme) * read the nodejs doc on native addons * read the libuv book if you want to handle asynchronous stuff in your addons * read Node.js source code
grex
- grex 1.0.0 - Generate regular expressions from user-provided test cases
- Generating regex pattern automatically
-
Regex generator
Sounds like you're looking for something like grex. Mind you, this does not save you from learning about regular expressions. It‘s more of a supporting tool.
- When you have a problem and solve it using RegEx, you end up with two problems
-
Gnarly Learnings from August 2022
grex-js
- Grex – Generate regular expressions from test cases
-
grex 1.4.0 - Generate regular expressions from user-provided test cases
Command-line tool and Rust library: https://github.com/pemistahl/grex
- Regex finder
-
RegExr: Learn, Build and Test Regex
If I understood what you mean, then yes, I bout one https://regex.help/ (powered by https://github.com/pemistahl/grex doing the heavy lifting).
- grex is a library as well as a command-line utility that is meant to simplify the often complicated and tedious task of creating regular expressions. It does so by automatically generating a single regular expression from user-provided test cases.
What are some alternatives?
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
yaegi - Yaegi is Another Elegant Go Interpreter
re2-wasm
rust-csv - A CSV parser for Rust, with Serde support.
SwiftLinkPreview - It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
pomsky - A new, portable, regular expression language
foxreplace - Replace text in webpages
codetour - VS Code extension that allows you to record and play back guided tours of codebases, directly within the editor.
grex-js - A JavaScript / WebAssembly library for generating regular expressions from user-provided test cases
parallel-disk-usage - Highly parallelized, blazing fast directory tree analyzer
percol - adds flavor of interactive filtering to the traditional pipe concept of UNIX shell
rust-iptables - Rust bindings for iptables