
Mastering Regular Expressions
Jeffrey E. F. Friedl · 1997
Programming and computer science › Programming classics and Java
#424 most recommended
Hacker News
115
mentions by 84 people · top 3% of 15,732 books
Open Library
5.00★★★★★★★★★★
4 ratings · 24 want to read
Wikipedia
—
No article yet
About the book
A practical and detailed guide to regular expressions as they are implemented across many languages and tools, including Perl, Java, .NET, PHP, Python, Ruby, and MySQL. It covers syntax, feature differences between versions and implementations, and how matching engines work. The third edition adds a full chapter on PHP's regex functions and expanded coverage of java.util.regex. Regular expressions are powerful but easy to misuse, and expert use depends on understanding how the matching engine actually works rather than memorizing syntax. The book contends that the same pattern can behave differently and perform very differently across engines, so writing patterns that match exactly what is wanted, and avoiding unnecessary matching work, requires knowing the engine's internals. It presents optimization and precise pattern design as the main ways to avoid slow or incorrect results.
Written by Claude from what it knows of this book.
What Hacker News says 69% recommend · 2% critical
In the commenters’ own words
The best way to learn the UNIX tools is in the context of shell scripting and using the combination of tools to achieve a purpose (such as parsing log files…
I've been programming since I was 10, earned a C.S. degree in '96, and have been a successful generalist working as a sysadmin, programmer, network engineer…
What Open Library readers say 5.00 from 4 ratings
- 54
- 40
- 30
- 20
- 10
- 24 want to read
- 3 reading
- 6 have read
Only 4 ratings: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
- Ask HN: What book changed your life?
- Ask HN: Which books do you consider real gems in your field of work/study?
- Ask HN: Do you recall any book or course that made a topic finally click?
- Ask HN: What is the greatest book you've ever read?
- Ask HN: What fiction/non-fiction book should everyone read on the topic of CS?
- Ask HN: What are the latest and greatest books on your favorite language?
- Ask HN: Nicknames for Computer Science Books?
- Ask HN: What are some older programming books that still hold up today?
Details
- First published
- 1997
- ISBN
- 9780596528126
- Editions known
- 18 at Open Library
- Open Library
- OL2807549W
Com051010Computer programmingCs.cmp_sc.app_swCs.cmp_sc.prog_langElectronic data processingGamesGeneralMicrosoft dot netObject orientedPerl (Computer program language)Perl <Programmiersprache>ProgrammierspracheProgramming languages (Electronic computers)Regulärer Ausdruck
Read next: its neighbours on the mosaic
Programming PerlLarry Wall · 1991 · recommended by 90 people · 6 people recommended both
Perl Best PracticesDamian Conway · 2005 · recommended by 22 people · 3 people recommended both
Higher-Order PerlMark Jason Dominus · 2005 · recommended by 74 people · 3 people recommended both
Regular Expressions CookbookJan Goyvaerts · 2009 · recommended by 1 person · similar by subject and what people say about it
Learning PerlRandal L. Schwartz · 1993 · recommended by 9 people · similar by subject and what people say about it
Mastering algorithms with PerlJon Orwant · 1999 · recommended by 4 people · similar by subject and what people say about it
Mastering Perlbrian d foy · 2007 · recommended by 2 people · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · 2 people recommended both
Effective Perl programmingJoseph N. Hall · 2010 · recommended by 5 people · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · 2 people recommended both
The UNIX programming environmentBrian W. Kernighan · 1984 · recommended by 86 people · 2 people recommended both
A Philosophy of Software DesignJohn K. Ousterhout · 2018 · recommended by 163 people · 4 people recommended both
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 3 people recommended both
The AWK programming languageAlfred V. Aho · 1988 · recommended by 61 people · 2 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 4 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 3 people recommended both
Beginning PerlCurtis Poe · 2012 · recommended by 6 people · similar by subject and what people say about it
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · 2 people recommended both
Classic Shell ScriptingArnold Robbins · 2005 · recommended by 8 people · similar by subject and what people say about it
Introducing Regular ExpressionsMichael Fitzgerald · 2012 · recommended by 0 people · similar by subject and what people say about it
Programming ErlangJoe Armstrong · 2008 · recommended by 69 people · similar by subject and what people say about it
Beautiful CodeAndy Oram · 2007 · recommended by 48 people · similar by subject and what people say about it
Software toolsBrian W. Kernighan · 1976 · recommended by 21 people · similar by subject and what people say about it