Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nikias
· 10y ago · 0 comments
Also implemented in the go stdlib
https://golang.org/pkg/regexp
Comments
[–]
burntsushi
10y ago
And Rust!
https://github.com/rust-lang-nursery/regex
[–]
infogulch
10y ago
And it doesn't have any problems with this particular regex:
https://play.golang.org/p/7UFkG3qrpS
[–]
cyphar
10y ago
It'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 ago
Yeah, the go team seems to be (rightfully) proud of their regexp implementation.