4 ms·
I find something like this a lot more readable: https://github.com/jkrumbiegel/ReadableRegex.jl https://github.com/jkrumbiegel/ReadableRegex.jl It is in Julia
by blindseer 4y ago
I find something like this a lot more readable:
https://github.com/jkrumbiegel/ReadableRegex.jl https://github.com/jkrumbiegel/ReadableRegex.jl
It is in Julia, but if you have it installed locally it’s just a few taps away. You can even generate the regex, and use that in Python and just add the ReadableRegex in a comment nearby.
- dr_kiszonka 4y agoNot a Julia user, but this looks great!
- gaganyaan 4y agoThat reads better than regex, but at that point, why not just use parser combinators? At least for me, whenever I want something more complex than a basic regex, I go for a parser combinator library. Maybe that's what's happening under the hood anyways? I don't know Julia well enough to know.
- Alifatisk 4y agoWow this looks really cool, do I have to learn julia though?