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
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.
Real programmers are regularly expressive. The concept is as important to programming languages and utilities as pointers are to “c”. You can work your way around regular expression but you will never be great until you master them.
An advantage and a disadvantage are that instead of concentrating on UNIX we get sidetracked by many secondary and transitory environments. The advantage is you can talk in “regular expressions” with everyone. The disadvantage is I prefer concentration on AIX, HP/UX, SCO, SUN, and other real programming environments; they could show all the different commands and integrated regular expressions.
Definition: Regular expressions are a language used for parsing and manipulating text. They are often used to perform complex search-and-replace operations and to validate that the text data is Well-formed.
I use a lot of vi and sed so regular expression is regularly used.
The bottom line is there are better books for specific environments. This one crosses over disciplines, and you never know with whom you may need to converse.