Cover of Mastering Regular Expressions

Mastering Regular Expressions

by Jeffrey E. F. Friedl · first published 1997

115mentions
58recommended by
84HN commenters
2008–2025first – last mentioned

69% recommend29% neutral2% critical

Why HN recommends it

Thorough, readable treatment of how regex engines work, including differences between engines and why one pattern performs badly while another is fast; suits programmers who think they already know regex.

Summarised by Claude from recommending comments

Regular expressions are an extremely powerful tool for manipulating text and data. They are now standard features in a wide range of languages and popular tools, including Perl, Python, Ruby, Java, VB.NET and C# (and any language using the .NET Framework), PHP, and MySQL. If you don't use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage. If you think you know all you need to know about regular expressions, this book is a stunning eye-opener. As

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

110 2007: 0 mentions2008: 5 mentions2009: 2 mentions2010: 6 mentions2011: 9 mentions2012: 9 mentions2013: 4 mentions2014: 3 mentions2015: 3 mentions2016: 7 mentions2017: 4 mentions2018: 5 mentions2019: 5 mentions2020: 8 mentions2021: 5 mentions2022: 8 mentions2023: 5 mentions2024: 11 mentions2025: 2 mentions2026: 0 mentions200720172026

What Hacker News says

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help