DeepRead
Cover of Regular Expressions Cookbook

Regular Expressions Cookbook

Jan Goyvaerts, Steven Levithan · 2009

Programming and computer science › Programming classics and Java

#12,543 most recommended

About the book

A practical guide to regular expressions, the pattern-matching notation used for searching, validating, and manipulating text. It opens with a concise syntax tutorial, then gives more than 100 recipes covering words, lines, special characters, numbers, URLs, file paths, markup, and data exchange, with code for C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. Regular expressions are a powerful tool that programmers use often but often get wrong, producing slow matches, false positives, false negatives, and hard-to-trace bugs. The book's central claim is that reliable results come from writing patterns deliberately, testing them against realistic input, and understanding how each language's regex engine and API behave differently. It presents its tested recipes as starting points that readers can adapt to their own custom requirements.

Written by Claude from what it knows of this book.

What Hacker News says 50% recommend · 0% critical

024201120122014201620172011 peak · 1
This bookAverage book in Programming classics and Java

In the commenters’ own words

  • I'm starting to learn ROR and have noticed that regular expressions show up quite often. I'd like to get a solid understanding of them, but no online tutorial…

    solipsist · 2011 · in Ask HN: Do I need a regex book?

  • Some years ago I went through Regular Expressions Cookbook, By Steven Levithan, Jan Goyvaerts and can't recommend it enough.

    ndr · 2017 · in You Should Learn Regex

What Open Library readers say

No Open Library reader has rated it yet.

  • 8 want to read
  • 0 reading
  • 1 have read

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
2009
ISBN
9781449319434
Editions known
16 at Open Library
Open Library
OL15131759W

Computer programmingHandbooks, manualsProgrammierspracheProgramming languages (Electronic computers)Programming languages (electronic computers)Regula rer AusdruckText processing (Computer science)Text processing (computer science)cookbookprogrammingregular expressions

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Mastering Regular Expressions
    Jeffrey E. F. Friedl · 1997 · recommended by 58 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
  • Rails recipes
    Chad Fowler · 2006 · recommended by 4 people · similar by subject and what people say about it
  • Etudes for programmers
    Charles Wetherell · 1978 · recommended by 4 people · similar by subject and what people say about it
  • Language Implementation Patterns
    Terence Parr · 2009 · recommended by 18 people · similar by subject and what people say about it
  • Higher-Order Perl
    Mark Jason Dominus · 2005 · recommended by 74 people · similar by subject and what people say about it
  • Design Patterns
    Erich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
  • Effective Perl programming
    Joseph N. Hall · 2010 · recommended by 5 people · similar by subject and what people say about it
  • JavaScript
    David Flanagan · 1996 · recommended by 22 people · similar by subject and what people say about it
  • Ruby cookbook
    Lucas Carlson · 2006 · recommended by 1 person · 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
  • Programming Erlang
    Joe Armstrong · 2008 · recommended by 69 people · similar by subject and what people say about it
  • Design Patterns in Ruby
    Russ Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
  • Introduction to automata theory, languages, and computation
    John E. Hopcroft · 1979 · recommended by 24 people · similar by subject and what people say about it
  • Compilers, principles, techniques, and tools
    Alfred V. Aho · 1986 · recommended by 195 people · similar by subject and what people say about it
  • PHP objects, patterns, and practice
    Matt Zandstra · 2008 · recommended by 4 people · similar by subject and what people say about it
  • Effective Python
    Brett Slatkin · 2015 · recommended by 22 people · similar by subject and what people say about it
  • Game Scripting Mastery
    Alex Varanese · 2002 · recommended by 6 people · similar by subject and what people say about it
  • Programming interviews exposed
    John Mongan · 2007 · recommended by 29 people · similar by subject and what people say about it
  • Eloquent Javascript
    Marijn Haverbeke · 2009 · recommended by 226 people · similar by subject and what people say about it
  • Think like a Programmer
    V. Anton Spraul · 2012 · recommended by 2 people · similar by subject and what people say about it
  • Essentials of programming languages
    Daniel P. Friedman · 1992 · recommended by 43 people · similar by subject and what people say about it
  • Java Cookbook
    Ian F. Darwin · 2001 · recommended by 2 people · similar by subject and what people say about it
  • Programming Perl
    Larry Wall · 1991 · recommended by 90 people · similar by subject and what people say about it