3 ms·
Runaway Regular Expressions: Catastrophic Backtracking
- arebop 17y agoThis article points out a common problem and discusses some ways to avoid it, but http://swtch.com/~rsc/regexp/regexp1.html http://swtch.com/~rsc/regexp/regexp1.html describes how to solve it.