DeepRead
Cover of Mastering Regular Expressions

Mastering Regular Expressions

Jeffrey E. F. Friedl · 1997

Programming and computer science › Programming classics and Java

#424 most recommended

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

0102020082015202020252022 peak · 13
This bookAverage book in Programming classics and Java

In the commenters’ own words

What Open Library readers say 5.00 from 4 ratings

  1. 54
  2. 40
  3. 30
  4. 20
  5. 10
  • 24 want to read
  • 3 reading
  • 6 have read

Only 4 ratings: treat the average as a hint.

Open Library’s page for the book

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

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

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Programming Perl
    Larry Wall · 1991 · recommended by 90 people · 6 people recommended both
  • Perl Best Practices
    Damian Conway · 2005 · recommended by 22 people · 3 people recommended both
  • Higher-Order Perl
    Mark Jason Dominus · 2005 · recommended by 74 people · 3 people recommended both
  • Regular Expressions Cookbook
    Jan Goyvaerts · 2009 · recommended by 1 person · similar by subject and what people say about it
  • Learning Perl
    Randal L. Schwartz · 1993 · recommended by 9 people · similar by subject and what people say about it
  • Mastering algorithms with Perl
    Jon Orwant · 1999 · recommended by 4 people · similar by subject and what people say about it
  • Mastering Perl
    brian d foy · 2007 · recommended by 2 people · similar by subject and what people say about it
  • Programming Pearls
    Jon Bentley · 1999 · recommended by 158 people · 2 people recommended both
  • Effective Perl programming
    Joseph N. Hall · 2010 · recommended by 5 people · similar by subject and what people say about it
  • The Practice of Programming
    Brian W. Kernighan · 1999 · recommended by 90 people · 2 people recommended both
  • The UNIX programming environment
    Brian W. Kernighan · 1984 · recommended by 86 people · 2 people recommended both
  • A Philosophy of Software Design
    John K. Ousterhout · 2018 · recommended by 163 people · 4 people recommended both
  • Design Patterns
    Erich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · 3 people recommended both
  • The AWK programming language
    Alfred V. Aho · 1988 · recommended by 61 people · 2 people recommended both
  • The Pragmatic Programmer
    Andy Hunt · 1999 · recommended by 353 people · 4 people recommended both
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · 3 people recommended both
  • Beginning Perl
    Curtis 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 Scripting
    Arnold Robbins · 2005 · recommended by 8 people · similar by subject and what people say about it
  • Introducing Regular Expressions
    Michael Fitzgerald · 2012 · recommended by 0 people · similar by subject and what people say about it
  • Programming Erlang
    Joe Armstrong · 2008 · recommended by 69 people · similar by subject and what people say about it
  • Beautiful Code
    Andy Oram · 2007 · recommended by 48 people · similar by subject and what people say about it
  • Software tools
    Brian W. Kernighan · 1976 · recommended by 21 people · similar by subject and what people say about it