Regular Expressions Reading List
Regex is one of main interests. Over the years I’ve been learning about them, I’ve accumulated some valuable materials - mostly related to perdormance and engine internals.
- Mastering Regular Expressions, 3rd Edition, Jefferey Friedl, 2009
- Regex101 - online regex tester and debugger
- Test app - original thanks to Kamil Szubrycht
- OWASP on ReDoS
- Maciek Rząsa: Performance of Regular Expressions
- Katafrakt: Regular expression how do they work?
- The true power of regular expressions
- FlashText algorithm vs regular epxressions for keyword matching
- Sam Safron: Debugging 100% CPU usage in production Ruby on Rails systems
- Jeff Atwood: Regex performance
- Mimicking atomic groups in JS regex
- RexEgg - Regex Tutorial, especially:
- regular-expressions.info:
- Russ Cox regex series:
- Loggly:
- ReDoS cases:
- ReDoS research:
- Optimisations
- Using Selective Memoization to Defeat Regular Expression Denial of Service (ReDoS)
- Ruby Core: memoisation that makes many regex polynomial instead of exponential
- V8 (JavaScript) optimisations: Regexp Tier Up and Speeding Up Regular Expressions
- .Net 7 Regex improvements
- .Net 5 Regex performance improvements
- V8 (JavaScript) Regex series esp
- Internals
- .Net Symbolic regex matcher
- Regular Expressions and Onigmo, the Ruby regular expression engine
- Rust Regex development
- Feline Regex Requests
- Very ambitious persional project - building an own regex engine, described step-by-step
- Maciej Rząsa (yours truly), talk: Magical journey through regex engine internals
- Code