Free Downloads
Regular Expression Pocket Reference: Regular Expressions For Perl, Ruby, PHP, Python, C, Java And .NET (Pocket Reference (O'Reilly))

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 APIRegular expression classes and interfaces for Ruby, Java, .NET, and C#Regular expression operators for Perl 5.8Regular expression module objects and functions for PythonPattern-matching functions for PHP and the vi editorPattern-matching methods and objects for JavaScriptUnicode Support for each of the languagesWith 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.

Series: Pocket Reference (O'Reilly)

Paperback: 128 pages

Publisher: O'Reilly Media; 2nd edition (July 28, 2007)

Language: English

ISBN-10: 0596514271

ISBN-13: 978-0596514273

Product Dimensions: 4.2 x 0.3 x 7 inches

Shipping Weight: 4 ounces (View shipping rates and policies)

Average Customer Review: 4.2 out of 5 stars  See all reviews (53 customer reviews)

Best Sellers Rank: #68,606 in Books (See Top 100 in Books) #1 in Books > Computers & Technology > Programming > APIs & Operating Environments > Unicode #4 in Books > Computers & Technology > Programming > Languages & Tools > Perl #5 in Books > Computers & Technology > Programming > Languages & Tools > Java > Reference

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.

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.

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.

It's nearly impossible to memorize all the minutiae of regular expressions, especially over multiple language implementations. Tony Stubblebine's book Regular Expression Pocket Reference by O'Reilly is a nice way to help you out without digging through endless pages.Chapter List: About This Book; Introduction To Regexes And Pattern Matching; Perl 5.8; Java (java.util.regex); .NET And C#; Python; PCRE Lib; PHP; vi Editor; JavaScript; Shell Tools; IndexLike most pocket references, this book is small (93 pages), but there's a lot of information packed into a small space. Each implementation chapter covers the metacharacters and metasequences that are supported in the language's implementation of regular expressions. This is followed by the language functions, examples of regular expressions, and a list of additional resources the reader can use to learn more about regular expressions in that language. If you don't know anything about the subject, this book (in my opinion) isn't going to help you out much. It assumes that you already understand the material and you're looking for a reference guide to find quick answers. And that's fine. This book has a definite purpose and target audience, and I think it does a very nice job of hitting the mark.For me, this would be a perfect companion book to Mastering Regular Expressions (also by O'Reilly). Mastering is considered one of the definitive volumes on the subject, and having this pocket guide on hand to jog your memory on lesser-used points would be perfect.

If you've ever picked up a copy of O'Reilly's Mastering Regular Expressions, then you'll feel right at home with this book. The Pocket Reference is all about usability, and this book is no exception. If you've never seen Mastering Regular Expressions, then this book takes the most important aspects of that book into about 80 pages.This book is basically divided into various languages (Perl, C, Java, C#) with examples on how to use regular expressions with each language. In addition to discussing the built-in language specific functions that you should use, there is discussion on the differences and nuances to using regular expressions in the specific language.If you need a desktop quick reference on regular expressions, then I would highly recommend this book. I have it next to my desk with the .NET section bookmarked. If you need something with a little more depth and explanation, then I would suggest picking up a copy of O'Reilly's Mastering Regular Expressions.

I recommend getting this bookif you feel comfortable with regular expressionsand 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 mymore detailed review on Oakland Perl Mongers.

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) PHP: Learn PHP In A DAY! - The Ultimate Crash Course to Learning the Basics of the PHP In No Time (PHP, PHP Programming, PHP Course, PHP Development, PHP Books) JAVA: Quick and Easy JAVA Programming for Beginners (Java, java programming, java for dummies, java ee, java swing, java android, java mobile java apps) Python: PYTHON CRASH COURSE - Beginner's Course To Learn The Basics Of Python Programming In 24 Hours!: (Python, Python Programming, Python for Dummies, Python for Beginners, python crash course) Python: Learn Python In A DAY! - The Ultimate Crash Course to Learning the Basics of Python In No Time (Python, Python Course, Python Development, Python Books, Python for Beginners) PHP: QuickStart Guide - The Simplified Beginner's Guide To PHP (PHP, PHP Programming, PHP5, PHP Web Services) Php: Learn PHP In A DAY! - The Ultimate Crash Course to Learning the Basics of PHP In No Time (Learn PHP FAST - The Ultimate Crash Course to Learning ... of the PHP Programming Language In No Time) JAVA: The Ultimate Guide to Learn Java Programming Fast (Programming, Java, Database, Java for dummies, coding books, java programming) (HTML, Javascript, ... Developers, Coding, CSS, PHP Book 1) ASP.NET: Programming success in a day: Beginners guide to fast, easy and efficient learning of ASP.NET programming (ASP.NET, ASP.NET Programming, ASP.NET ... ADA, Web Programming, Programming) PYTHON: Python in 8 Hours, For Beginners, Learn Python Fast! A Smart Way to Learn Python, Plain & Simple, Learn Python Programming Language in Easy Steps, A Beginner's Guide, Start Coding Today! Python: Learn Web Scraping with Python In A DAY! - The Ultimate Crash Course to Learning the Basics of Web Scraping with Python In No Time (Web Scraping ... Python Books, Python for Beginners) Python: Learn Python FAST - The Ultimate Crash Course to Learning the Basics of the Python Programming Language In No Time (Python, Python Programming, ... (Learn Coding Fast with Hands-On Project 7) Java: Regex Crash Course - The Ultimate Beginner's Course to Learning Java Regular Expressions in Under 12 Hours Java: The Ultimate Guide to Learn Java and C++ (Programming, Java, Database, Java for dummies, coding books, C programming, c plus plus, programming for ... Developers, Coding, CSS, PHP Book 2) PHP: MySQL in 8 Hours, For Beginners, Learn PHP MySQL Fast! A Smart Way to Learn PHP MySQL, Plain & Simple, Learn PHP MySQL Programming Language in Easy Steps, A Beginner's Guide, Start Coding Today! Raspberry Pi 3: A Simple Guide to Help You Get the Most Out of Your Raspberry Pi 3 (Raspberry Pi, Python, Raspberry Pi 2, Perl, Programming, Raspberry Pi 3, Ruby) Ruby: Programming, Master's Handbook: A TRUE Beginner's Guide! Problem Solving, Code, Data Science, Data Structures & Algorithms (Code like a PRO in 24 ... design, tech, perl, ajax, swift, python) Python Pocket Reference (Pocket Reference (O'Reilly)) Regular Expression Pocket Reference Programming #45: Python Programming Professional Made Easy & Android Programming In a Day! (Python Programming, Python Language, Python for beginners, ... Programming Languages, Android Programming)