Y
Hacker News
new
|
ask
|
show
|
jobs
by
dsymonds
3580 days ago
The standard regexp package, unlike PCRE, is actually a proper regular expression parser/matcher. Anything doing backtracking is at risk of exponential blowup and isn't safe.
https://swtch.com/~rsc/regexp/regexp1.html
1 comments
endymi0n
3580 days ago
which is exactly what I meant with less specialized but safe :)
link
jonlawlor
3580 days ago
It is also often much faster than pcre.
link