4 ms·Techniques to Improve Regex Performance55 points by ScottWRobinson 11y agopronoiac 11y agoI was distracted by this: including .* at the start or end of a regex feels like a pathological anti-optimization by itself.Zancarius 11y agoRelated (and also from the same site/poster): https://news.ycombinator.com/item?id=9765900 https://news.ycombinator.com/item?id=9765900