How one regex can use all your CPU. ✨
Some patterns make the engine try huge numbers of paths. Certain input makes the time explode. The server spends its time matching, and stops answering. Use time limits, simple patterns, and gradual rollouts.
More at rky.app#Programming#Reliability#DevTips