Every Python developer I know has a folder somewhere called "regex_snippets" or "useful_patterns" or "patterns_to_remember.txt". Mine grew to 47 files over six years. Half of them were wrong. Three of them were the same URL pattern, each slightly different. The problem with regex isn't that it's hard to write. It's that it's hard to remember. The syntax is compact enough that you forget it between
150+ regex patterns for Python developers: stop rebuilding the same wheel
Peyton Green·Dev.to··1 min read
D
Continue reading on Dev.to
This article was sourced from Dev.to's RSS feed. Visit the original for the complete story.