Can I regex filters?
it's occurred to me before that 'learning regex' is a solution that only emerges in my life whenever something has gone very wrong somewhere else
@liamvhogan “now I have two problems” areas.
@rgmerk not quite 'forbidden knowledge', but like, say, autoelectrics, it's useful knowledge I'd rather not have to deal with
@liamvhogan as a pro, complicated regexes are sometimes fun intellectual exercises to write, but tortuous to read.
@rgmerk @liamvhogan there’s an old saw that you’re not smart enough to debug the code you’re smart enough to write and I think that goes double for regex
@rgmerk @liamvhogan It’s like obfuscated C, but without any effort involved.
(that said, I’ve always been pleased to have a problem that could be neatly solved by a DFA. The ugly ones are where you have to build a regex equivalent out of dirt and sticks)