1457 shaares
8 results
tagged
regex
A comprehensive regex reference with syntax tables, flavor comparisons (JavaScript, Python, PCRE), 20 common patterns, and performance tips. Includes interactive examples.
Regex gets a bad reputation for being very complex. That’s fair, but I also think that if you focus on a certain core subset of regex, it’s not that hard. Most of the complexity comes from various “shortcuts” that are hard to remember. If you ignore those, the language itself is fairly small and portable across programming languages.