3 ms·
Regex named capture groups are somewhat of an underused feature I find, especially with things like simple parsers they help to keep stuff readable https://regu
by anon1253 7y ago
Regex named capture groups are somewhat of an underused feature I find, especially with things like simple parsers they help to keep stuff readable https://regular-expressions.mobi/named.html https://regular-expressions.mobi/named.html
- pvorb 7y agoThe same is true for free-spacing mode and comments, which can improve the readability of regular expressions a lot: https://www.regular-expressions.info/freespacing.html https://www.regular-expressions.info/freespacing.html