3 ms·
Yeah, I don't like Python's approach in re syntax either. In addition to your example, it backfires for things like multiline formulas (need to add parentheses
by qsort 5y ago
Yeah, I don't like Python's approach in re syntax either.
In addition to your example, it backfires for things like multiline formulas (need to add parentheses or escapes) or lambdas.
Braces (or even 'end' like ruby) would be much more practical.