Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .
Authors
Tony Stubblebine
ISBN
0596514271
Published
18 Jul 2007
Purchase online
amazon.com

This handy little book offers programmers a complete overview of the syntax and semantics of regular expressions that are at the heart of every text-processing application. Ideal as a quick reference, Regular Expression Pocket Reference covers the regular expression APIs for Perl 5.8, Ruby (including some upcoming 1.9 features), Java, PHP, .NET and C#, Python, vi, JavaScript, and the PCRE regular expression libraries.

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

John Najarian said
One of the better OReilly books. Very well written, great examples and explanations. I highly recommend.

Adric said
I'm scared of regular expressions. They vex me constantly at work whether trying to figure out someone else's Apache RewriteRules or Perl or just trying myself to do mildly clever things in vi and sed. They are a headache.

A coworker let me browse his copy of this wonderful little book and I was hooked. I actually tried to buy one that day on the way home, but they were out of stock and so I permitted Amazon to ship me one.

In addition to brief explanations of the different types of regexes in the wild (based on the comprehensive Mastering title, also from ORA), there are detailed quick references to all of the different implementations including several common languages (Perl, PHP, C#, and several others) and software packages (including sed, Apache, vi and many others). All of their various quicks and "features" are explained briefly and there are some examples.

No one hacking around in Unix or doing much programming should be without this book, unless they are already a regex wizard, and I think even they'd find it handy.

Dejan Fajfar said
Most developers know how to write regular expressions, almost none of them can read them. And if you are saying that you can. Well congratulations to you. You are one of the 0.1% of developers that can or you are one of those who think they can.

The books physical appearance is so compact that it has become a permanent item on my working desk. And is often used.

R. Tripi said
You know those times when you know what you want to do, but are not sure of the correct form, this is the book to grab. It has been my book to grab as a reference rather than trying to find the right language book. This is not the book to learn the language from, however. You will find your copy will be well worn if you do lots of coding.

J. A. Rodriguez said
Pocket references are not meant to teach you anything from the beginning, but to be everyday references in known and new environments. In other words, if you don't know regular expressions, then go to "Mastering Regular Expressions". If you're still here, then you'll get a cheat sheet on steroids for languages ranging from bug-prone JavaScript to the King and Queen of robustness, Perl and Python. Although everything claims to be PCRE these days, particular examples in every language available is a plus for anyone. A must for any type of user input validation.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In theory, theory and practice are the same. In practice, they're not.”