http://qs321.pair.com?node_id=11137271


in reply to Re^2: Is it safe to use external strings for regexes?
in thread Is it safe to use external strings for regexes?

It was discussed here in Cloudflare blames PCRE for outage and a blog at cloudflare but they found out a couple years ago even "seasoned programmers" can shoot themselves in the foot as well.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^4: Is it safe to use external strings for regexes?
by stevieb (Canon) on Oct 06, 2021 at 19:40 UTC
    even "seasoned programmers" can shoot themselves in the foot as well.

    Yep, been there, done that myself once or twice. It's especially easy to shoot one's self in the foot when carrying a fully loaded automatic with one hand while not having trigger discipline (ie. a complex regex).