Regular Expression Pocket Reference

( 2 )

Overview

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 ...
See more details below
Paperback (Second Edition)
$11.29
BN.com price
(Save 24%)$14.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (17) from $6.13   
  • New (10) from $7.87   
  • Used (7) from $6.13   
Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.49
BN.com price
(Save 12%)$11.99 List Price

Overview

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.
Read More Show Less

Product Details

  • ISBN-13: 9780596514273
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 7/15/2007
  • Series: Pocket Reference (O'Reilly) Series
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 128
  • Sales rank: 557,420
  • Product dimensions: 4.38 (w) x 7.04 (h) x 0.32 (d)

Meet the Author

Tony Stubblebine, writes Perl and regular expressions for O'Reilly. Previously he held the titles of Web Peasant and Rogue Developer while hacking Perl for MasterCard International. He is also the Social Director and Senior Nightlife Correspondent for the O'Reilly Network.

Read More Show Less

Table of Contents


About This Book     1
Introduction to Regexes and Pattern Matching     3
Regex Metacharacters, Modes, and Constructs     5
Unicode Support     13
Regular Expression Cookbook     13
Recipes     14
Perl 5.8     16
Supported Metacharacters     17
Regular Expression Operators     21
Unicode Support     23
Examples     24
Other Resources     25
Java (java.util.regex)     26
Supported Metacharacters     26
Regular Expression Classes and Interfaces     30
Unicode Support     35
Examples     36
Other Resources     38
.NET and C#     38
Supported Metacharacters     38
Regular Expression Classes and Interfaces     42
Unicode Support     47
Examples     47
Other Resources     49
PHP     50
Supported Metacharacters     50
Pattern-Matching Functions     54
Examples     56
Other Resources     58
Python     58
Supported Metacharacters     58
re ModuleObjects and Functions     61
Unicode Support     64
Examples     65
Other Resources     66
RUBY     66
Supported Metacharacters     67
Object-Oriented Interface     70
Unicode Support     75
Examples     75
JavaScript     77
Supported Metacharacters     77
Pattern-Matching Methods and Objects     79
Examples     82
Other Resources     83
PCRE     83
Supported Metacharacters     84
PCRE API     89
Unicode Support     92
Examples     92
Other Resources     96
Apache Web Server     96
Supported Metacharacters     96
RewriteRule     99
Matching Directives     102
Examples     102
vi Editor     103
Supported Metacharacters     103
Pattern Matching     106
Examples     108
Other Resources     108
Shell Tools     109
Supported Metacharacters     109
Other Resources     114
Index      115
Read More Show Less

Customer Reviews

Average Rating 4.5
( 2 )
Rating Distribution

5 Star

(1)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Posted July 10, 2012

    Good Little Reference Book

    A good reference book for Regular Expressions. No one is going to learn regular expressions from this book. It does have an introduction to regular expressions, but that’s all. The book’s strength is that it covers several implementations of regular expressions, including Perl, Java, .NET/C#, PHP, Python, Ruby, and JavaScript. If you want to learn regular expressions, find another book. Several reviewers have suggest good books for learn all about regular expressions. On the other hand, if you want a quick, easy reference tool, this is the book. If you understand regular expressions and just need a reminder on how a certain language implements it, then this it the right book.

    Was this review helpful? Yes  No   Report this review
  • Posted May 5, 2011

    A Great Little Reference Book

    This small Pocket Reference book is a great tool for any programmer who wishes to adapt regular expressions into his tool belt. The book starts off with a nice little introduction to regular expressions followed by some pre-cooked recipes. The book then goes through specific uses for specific programming languages. It was nice to see the language of Ruby mentioned as I have fond memories of playing around with and using Ruby.

    For those who still like the feel of paper on their fingers, this is a great buy!

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)