Amazon Search Directory
Enter Keywords:
Index : Product Listings : Product DetailsBack


  View Larger
Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))
By Tony Stubblebine ( O'Reilly Media, Inc. )
Release Date: 2007-07-18
Average Customer Rating:
List Price: $14.99
Price: $10.19
Eligible for FREE Super Saver Shipping on orders over $25.
Availability: Usually ships in 24 hours
 Add to Cart 

Product Description
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.

This concise and easy-to-use reference puts a very powerful tool for manipulating text and data right at your fingertips. Composed of a mixture of symbols and text, regular expressions can be an outlet for creativity, for brilliant programming, and for the elegant solution. Regular Expression Pocket Reference offers an introduction to regular expressions, pattern matching, metacharacters, modes and constructs, and then provides separate sections for each of the language APIs, with complete regex listings including:
  • Supported metacharacters for each language API
  • Regular expression classes and interfaces for Ruby, Java, .NET, and C#
  • Regular expression operators for Perl 5.8
  • Regular expression module objects and functions for Python
  • Pattern-matching functions for PHP and the vi editor
  • Pattern-matching methods and objects for JavaScript
  • Unicode Support for each of the languages
With plenty of examples and other resources, Regular Expression Pocket Reference summarizes the complex rules for performing this critical text-processing function, and presents this often-confusing topic in a friendly and well-organized format. This guide makes an ideal on-the-job companion.
Customers Who Bought This Item Also Bought

Mastering Regular Expressions

Perl Pocket Reference, 4th Edition

VI Editor Pocket Reference

sed and awk Pocket Reference, 2nd Edition

SQL Pocket Guide (Pocket References)

Product Reviews:
  Regular Expresions OReilly - book review ( j-najarian2 )
One of the better OReilly books. Very well written, great examples and explanations. I highly recommend.
  Great reference to an arcane subject ( adricnet )
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.
  Just a mus have 
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.
  A good multilanguage reference ( rtripi )
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.
  Regular expressions, part of a healthy breakfast ( demiurgo-daemon )
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.