regexp2
re2
regexp2 | re2 | |
---|---|---|
4 | 1 | |
929 | 26 | |
- | - | |
2.9 | 3.8 | |
2 months ago | 5 months ago | |
Go | C++ | |
MIT License | GNU General Public License v3.0 or later |
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.
regexp2
-
Best regexp alternative for Go. Benchmarks. Plots.
regexp2 (1.10.0) - a feature-rich regexp engine for Go. It does not have runtime guarantees like the built-in regexp package, but is compatible with Perl5 and .NET;
-
Regex RE2 doesn't support specific Turkish characters.
https://github.com/dlclark/regexp2 I am going to use .NET engine until I find a workaround for stdlib :(
-
A CGo-free port of the PCRE2 regular expression library
It's also very useful if you're writing an interpreter which intends to be compatible with something that already needs PCRE support. For example, goja (a JS interpreter) uses regexp2 to support JS's regexp syntax, since JS is not limited to re2.
-
Converting ECMA script regex to golang
Compare https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet with https://github.com/dlclark/regexp2 - maybe github.com/dlclark/regexp2 is (almost) what you need.
re2
-
Just how widely accepted is tidyr/dplyr these days?
Perl is fast for regex matching, but there is more to processing text than just regex and with parLapply you can parallelize the processing. You can also parallelize re2 and basically destroy Perl if your regex contains |.
What are some alternatives?
elsa - ❄️ Elsa is a minimal, fast and secure runtime for JavaScript and TypeScript written in Go
regex-automata - A low level regular expression library that uses deterministic finite automata.
rex - Flexible regular expressions constructor for Golang.
re2js - RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
poorman - A poor man's dependency free grammar of data manipulation
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
RE-flex - A high-performance C++ regex library and lexical analyzer generator with Unicode support. Extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers.
go-re2 - Drop-in replacement for regexp using re2, for any Go app
hyperscan - High-performance regular expression matching library
ata - Experimental RegExp Engine with event triggering mechanism.
REFramework - Scripting platform, modding framework and VR support for all RE Engine games