
Regular Expressions Cookbook
Jan Goyvaerts, Steven Levithan · 2009
Programming and computer science › Programming classics and Java
#12,543 most recommended
Hacker News
2
mentions by 2 people · top 79% of 15,732 books
Open Library
—
No ratings yet
8 want to read
Wikipedia
—
No article yet
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
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…
Some years ago I went through Regular Expressions Cookbook, By Steven Levithan, Jan Goyvaerts and can't recommend it enough.
What Open Library readers say
No Open Library reader has rated it yet.
- 8 want to read
- 0 reading
- 1 have read
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
Read next: its neighbours on the mosaic
Mastering Regular ExpressionsJeffrey E. F. Friedl · 1997 · recommended by 58 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
Rails recipesChad Fowler · 2006 · recommended by 4 people · similar by subject and what people say about it
Etudes for programmersCharles Wetherell · 1978 · recommended by 4 people · similar by subject and what people say about it
Language Implementation PatternsTerence Parr · 2009 · recommended by 18 people · similar by subject and what people say about it
Higher-Order PerlMark Jason Dominus · 2005 · recommended by 74 people · similar by subject and what people say about it
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
Effective Perl programmingJoseph N. Hall · 2010 · recommended by 5 people · similar by subject and what people say about it
JavaScriptDavid Flanagan · 1996 · recommended by 22 people · similar by subject and what people say about it
Ruby cookbookLucas Carlson · 2006 · recommended by 1 person · 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
Programming ErlangJoe Armstrong · 2008 · recommended by 69 people · similar by subject and what people say about it
Design Patterns in RubyRuss Olsen · 2007 · recommended by 15 people · similar by subject and what people say about it
Introduction to automata theory, languages, and computationJohn E. Hopcroft · 1979 · recommended by 24 people · similar by subject and what people say about it
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · similar by subject and what people say about it
PHP objects, patterns, and practiceMatt Zandstra · 2008 · recommended by 4 people · similar by subject and what people say about it
Effective PythonBrett Slatkin · 2015 · recommended by 22 people · similar by subject and what people say about it
Game Scripting MasteryAlex Varanese · 2002 · recommended by 6 people · similar by subject and what people say about it
Programming interviews exposedJohn Mongan · 2007 · recommended by 29 people · similar by subject and what people say about it
Eloquent JavascriptMarijn Haverbeke · 2009 · recommended by 226 people · similar by subject and what people say about it
Think like a ProgrammerV. Anton Spraul · 2012 · recommended by 2 people · similar by subject and what people say about it
Essentials of programming languagesDaniel P. Friedman · 1992 · recommended by 43 people · similar by subject and what people say about it
Java CookbookIan F. Darwin · 2001 · recommended by 2 people · similar by subject and what people say about it
Programming PerlLarry Wall · 1991 · recommended by 90 people · similar by subject and what people say about it