4 ms·
There's VerbalExpressions, which simply wrap common PCRE tokens into methods/functions: https://github.com/VerbalExpressions https://github.com/VerbalExpression
by vezzy-fnord 11y ago
There's VerbalExpressions, which simply wrap common PCRE tokens into methods/functions: https://github.com/VerbalExpressions https://github.com/VerbalExpressions
- Retra 11y agoThose are pretty good, if a little verbose.
- toufique 11y agoThis is awesome, like life-changing awesome! I always felt an impedance mismatch between how my mind describes string patterns and how regexps are written. VerbalExpressions is the closest thing I've seen to how I naturally think.
- techdragon 11y agoThis is going to rapidly replace every instance of regex in my code. The readability improvement is immeasurable. It's also conveniently similar enough to Python's verbose regex syntax.