Settings

Theme

Performance of Regular Expressions

medium.com

5 points by mrzasa 7 years ago · 2 comments

Reader

tsuberim 7 years ago

Isn't it O(n) where n is the length of the string to match? Because you can compile any regex to a DFA and run it over the string.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection