logoalt Hacker News

zahlmanyesterday at 10:22 PM0 repliesview on HN

> Traditional wisdom tells you regex is slow.

Because it's uncomfortably easy to create catastrophic backtracking.

But just logical-ORing many patterns together isn't one of the ways to do that, at least as far as I'm aware.