Regular Expressions, To Match Or Not, That is the Question
summary
Covers how to read and build real patterns with examples such as a word boundary anchored email validation that enforces a dot and 2–6 letter TLD, a six‑hex‑digit hex color matcher, and greedy vs non‑greedy fixes. Shows tools regex101.com and regexper for visualization, measures about 15 ms to parse 10,000 CSV lines with a native regex I/O path, and describes a two‑pass recursive regex technique used to implement a spreadsheet parser plugin that successfully handles nested formulas.
AI-written summary · about
chapters (22)
- 0:00Intro
- 1:36About me
- 3:08Is it loud enough
- 3:48Why use regular expressions
- 4:52Regular expressions in Perl
- 6:21Regular expression engine
- 7:56Character sets
- 11:50Dot
- 12:50Anchors
- 14:48Logical
- 16:27Optional
- 19:45Hex Numbers
- 22:52Greedy vs Non Greedy Scanning
- 24:59Grouping
- 27:27Search and Replace
- 33:27Performance
- 34:09Modifiers
- 37:52Lookahead
- 39:24End Combination
- 42:20Back Referencing
- 46:18Using Regular Expressions
- 48:50Puzzle
related talks
39mRegex-Fu
59mRegular Expressions
04mThree indispensable REGEX hacks
56mHow I learned to stop worrying and love Regex
38mEscape from Planet Regex - Kotlin to the Rescue
22mRegex in PowerShell: How to grasp it and why you should grasp it
34mAn Intuitive Grasp of RegEx’s in Python
20mBuild your own Swift Regex: A Gentle Introduction to Swift Regex
