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.
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.
Excellent concise reference for regular expressions
Published by Thriftbooks.com User , 17 years ago
This is a handy little guide for common regular expression fundamentals and odds and ends. The intro chapter does a nice job of giving you the regex elevator speech and hits all the important fundamentals: different engines, metacharacters, and general pattern rules. There's also a regex "Cookbook" section; however, that bit is only two pages and the "recipes" there are so rudimentary that they're nearly useless and would have been better left to a different book. The remaining chapters hit regex support in major languages, Apache, shells, and Vi and Vim editors. These sections are very well done and give you great guidance to regex implementations on that platform, plus give you guidance on the APIs you'll need for working with regexes. Languages covered include Perl 5.8, Java 1.5/1.6, .NET framework with examples in C#, PHP, Python, Ruby, Python and JavaScript. The Perl Compatible Regular Expression library (PCRE) is also covered. Each chapter is concise, well-written and hits the major things you'll need to refresh your memory on from time to time. Overall it's a very well done book.
An Excellent Regex Reference
Published by Thriftbooks.com User , 20 years ago
I recommend getting this book if you feel comfortable with regular expressions and regular expressions are important to you.As one expects from an O'Reilly Pocket Reference, this book is compact but still covers a lot of ground. For a whole bunch of applications, it provides:* tables of various groupings of regex metacharacters, summarizing their syntax and meaning;* summaries of other regex related features, but not in tabular form;* examples;* a few references in case you need to go deeper.The information is concise and well chosen.This is a reference, but in applications where you use regular expressions less, it may also be useful for expanding your knowledge significantly. It was for me.If you wish, take a look at my more detailed review on Oakland Perl Mongers.
Extremely Beneficial
Published by Thriftbooks.com User , 21 years ago
I've been programming with perl for seven years. I've always found it cumbersome trying to remember everything that regular expressions have to offer. Since I have purchased Regular Expression Pocket Reference I no longer have this problem. This book has been a tremendous help to me in utilizing the true power of regular expressions. The explanations and examples are exceptionally clear and easy to comprehend. The book has improved my programming capabilities while making my job easier. I highly recommend this book to anyone who is required to use regular expressions or to the newbie who wants to learn how.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.