4 ms·
Also implemented in the go stdlib https://golang.org/pkg/regexp https://golang.org/pkg/regexp
by nikias 10y ago
Also implemented in the go stdlib https://golang.org/pkg/regexp https://golang.org/pkg/regexp
- burntsushi 10y agoAnd Rust! https://github.com/rust-lang-nursery/regex https://github.com/rust-lang-nursery/regex
- infogulch 10y agoAnd it doesn't have any problems with this particular regex: https://play.golang.org/p/7UFkG3qrpS https://play.golang.org/p/7UFkG3qrpS
- cyphar 10y agoIt's been mathematically proven that engines of the form that Go has will always run in linear time for any regular expression, on any input. It's one of the more famous things about regex in general.
- artursapek 10y agoYeah, the go team seems to be (rightfully) proud of their regexp implementation.