News for hackers. Stuff that matters.
Re:Rulex – A new, portable, regular expression language by burntsushi on Friday June 10, 2022 @04:57PM (#31699282)
Yes, that's what RE2, the regex crate and a few other regex engines already do. (Specifically, build the DFA lazily.) Everything I've said I've said with that full context.

I don't know, maybe just don't make grand pronouncements about regex engines if you aren't actually familiar with how they're implemented and the engineering tradeoffs in play?

Re:Rulex – A new, portable, regular expression language by nsajko on Friday June 10, 2022 @09:30PM (#31701152)
So what's the problem with extending regexp then?
Re:Rulex – A new, portable, regular expression language by saghm on Saturday June 11, 2022 @12:05AM (#31701819)
It seems pretty clear from reading the above thread that burntsushi is saying that they have not been able to find a way to implement the extensions you suggested without making the compile time unfeasible for general use. Given how prolific their work in writing regex and other text-search related libraries is, it seems reasonable to take them that their word that they have in fact spent time trying to solve this problem. On the other hand, it doesn't sound like there's any any practical implementations that anyone can point to that can in fact add these extensions in a way that doesn't cause the compile time to be infeasible. Given that, you seem to be making the stronger claim, so it's a little strange to put the burden of proof on the other side of the argument.
Re:Rulex – A new, portable, regular expression language by burntsushi on Saturday June 11, 2022 @07:10AM (#31703621)
I already told you. I'm done wasting my time speaking with you in this thread. In particular, you seem unwilling to acknowledge any specific trade offs that I've pointed out.