3 ms·
I fear not the man who plays chess with 84,688 regular expressions, but I fear the man who plays chess with one regular expression.
by comonoid 2y ago
I fear not the man who plays chess with 84,688 regular expressions, but I fear the man who plays chess with one regular expression.
- anal_reactor 2y agoI fear people in general because I have social anxiety
- pmarreck 2y agoIf there was a general heuristic to make sequentially-applied regexes linear (combine any 2 into 1), it could be applied to this help, I'm being nerd-sniped right away I see backreferences as a potential problem it would be a VERY long regex, but you're basically encoding a chess engine, so...
- TZubiri 2y ago"help, I'm being nerd-sniped" Just breathe Close your eyes Picture an algebraic representation of the higher order function that represents your real life utility and minimizes the use of resources including your cognitive energy. Focus on optimizing that function. Ohmmmmm