2 ms·
Perl is a dying language. Your 4-5 "solutions" are non-solutions in practice for 99% of software developers out there. And regexps are by default written in th
by oblio 4y ago
Perl is a dying language. Your 4-5 "solutions" are non-solutions in practice for 99% of software developers out there.
And regexps are by default written in the concise form. It's the standard problem of "opt-in" vs "opt-out".
Opt-in, as a rule of thumb, has low adoption rates, for various reasons (maybe 20% if you get lucky).
Opt-out is the inverse, it has adoption rates of 90%+, except for total, universally known disasters.
Tools which are unsafe by default are bad.
Yes, the craftsmen are bad, but the way we improve is by also improving our tools. It doesn't matter how much pointing at the idiots we do, practical regexps have been around since ~1975, that's almost 50 years. In industrial use they haven't gotten safer.
That's bad.