2 ms·
On the implementation's side, Russ Cox's articles are pretty indispensable: https://swtch.com/~rsc/regexp/regexp1.html https://swtch.com/~rsc/regexp/regexp1.ht
by kccqzy 7y ago
On the implementation's side, Russ Cox's articles are pretty indispensable:
https://swtch.com/~rsc/regexp/regexp1.html https://swtch.com/~rsc/regexp/regexp1.html
https://swtch.com/~rsc/regexp/regexp2.html https://swtch.com/~rsc/regexp/regexp2.html
And actual implementations based on these articles: https://github.com/google/re2 https://github.com/google/re2 and https://github.com/rust-lang/regex https://github.com/rust-lang/regex
- vasili111 7y agoMore articles and notes from Russ Cox: https://swtch.com/~rsc/regexp/ https://swtch.com/~rsc/regexp/