or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $2.87 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) [Paperback]

Tony Stubblebine (Author)
4.2 out of 5 stars  See all reviews (33 customer reviews)

List Price: $14.99
Price: $9.59 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $5.40 (36%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $9.59  

Book Description

0596514271 978-0596514273 July 25, 2007 Second Edition

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.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) + Mastering Regular Expressions + Regular Expressions Cookbook
Price For All Three: $63.47

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Mastering Regular Expressions $27.08

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Regular Expressions Cookbook $26.80

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Tony Stubblebine is an Internet consultant, entrepreneur, and blogger. He's also the author of Regular Expression Pocket Reference, former Engineering Director for Odeo.com and former Engineering Lead for O'Reilly Media. He posts regular updates to his blog, StubbleBlog and regularly releases small websites such as Gem Jack, a repository of documentation for Ruby gems, Rate My Dance Moves, a YouTube mashup, and I Heart Quotes, the Unix fortune program re-imagined for the web.


Product Details

  • Paperback: 128 pages
  • Publisher: O'Reilly Media; Second Edition edition (July 25, 2007)
  • Language: English
  • ISBN-10: 0596514271
  • ISBN-13: 978-0596514273
  • Product Dimensions: 7 x 4.4 x 0.3 inches
  • Shipping Weight: 1.6 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (33 customer reviews)
  • Amazon Best Sellers Rank: #132,809 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

33 Reviews
5 star:
 (13)
4 star:
 (14)
3 star:
 (4)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (33 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

22 of 22 people found the following review helpful:
4.0 out of 5 stars A review of "Regular Expression Pocket Reference", July 12, 2005
By 
G. Roush (Des Moines, IA USA) - See all my reviews
(REAL NAME)   
One of the most difficult things when working with regular expressoins -- at least for me -- is dealing with different implementations (i.e., Perl, Java, Python, PHP, UNIX tools, etc.) The basics of regexes and pattern matching don't vary all that much, but each implementation is just different enough that the smae line of code can yield different results. If you work with more than one of these implementations, keeping track of differences in metacharacters and metasequences can be nearly impossible. This is especially true when -- as is the case with me -- you deal with regexes somewhat intermittently.

This is one of the main reasons why the "Regular Expression Pocket Reference"
was written and this is why I keep it close at hand. This book will not really teach you how to use regexes, nor will it tell you how to use, say, Perl. If, however, you use Perl and you know how to use regexes but just can't remember whether you can disallow backtracking for text matched by a subpattern, then this book will save you quite a bit of time and effort.

If you're wondering what it means to "disallow backtracking for text matched by a subpattern," or when you would want to use it, buy "Mastering Regular Expressions" or a similar title. The "Regular Expression Pocket Reference" is designed to be a quick reference tool, and it serves this purpose very well. I would recommend it especially for those who work with regular expressions intermittently or who work with several different implementations.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


27 of 28 people found the following review helpful:
2.0 out of 5 stars Too many implementations covered, December 15, 2003
By 
"mark_seattle" (Kirkland, WA United States) - See all my reviews
I love this series of books (the C#, C++ and STL pocket refs are my favorite), but the Regular Expression pocket ref tries to cover too many implementations. You only get about 10 pages for each language so, unless you use multiple implementations (e.g. C#/.NET, Perl, JavaScript, etc), this just isn't good value for money. I returned my copy and printed out a quick reference from one of the many Internet programming sites.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


25 of 28 people found the following review helpful:
4.0 out of 5 stars Great reference, but not a tutorial, November 20, 2003
By 
David C. Veeneman (Southern California) - See all my reviews
(REAL NAME)   
The editorial blurb on this book suggests that it can be used as a tutorial by those new to regular expressions. That's not the case. This book is strictly a reference, albeit a very good one. I bought O'Reilly's "Mastering Regular Expressions" to learn the area, and I use this book as a quick reference. It serves that purpose very well.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject