Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET, 2/e (Paperback)

Tony Stubblebine

  • 出版商: O'Reilly Media
  • 出版日期: 2007-07-28
  • 定價: USD $14.99
  • 售價: $660
  • 貴賓價: 9.5$627
  • 語言: 英文
  • 頁數: 128
  • 裝訂: Paperback
  • ISBN: 0596514271
  • ISBN-13: 9780596514273

下單後立即進貨 (1週~2週)

買這商品的人也買了...

商品描述

Description

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.

Table of Contents

  About This Book 

     Introduction to Regexes and Pattern Matching 

               Regex Metacharacters, Modes, and Constructs 

               Unicode Support 

     Regular Expression Cookbook 

               Recipes 

     Perl 5.8 

               Supported Metacharacters 

               Regular Expression Operators 

               Unicode Support 

               Examples 

               Other Resources 

     Java (java.util.regex) 

               Supported Metacharacters 

               Regular Expression Classes and Interfaces 

               Unicode Support 

               Examples 

               Other Resources 

     .NET and C# 

               Supported Metacharacters 

               Regular Expression Classes and Interfaces 

               Unicode Support 

               Examples 

               Other Resources 

     PHP 

               Supported Metacharacters 

               Pattern-Matching Functions 

               Examples 

               Other Resources 

     Python 

               Supported Metacharacters 

               re Module Objects and Functions 

               Unicode Support 

               Examples 

               Other Resources 

     RUBY 

               Supported Metacharacters 

               Object-Oriented Interface 

               Unicode Support 

               Examples 

     JavaScript 

               Supported Metacharacters 

               Pattern-Matching Methods and Objects 

               Examples 

               Other Resources 

     PCRE 

               Supported Metacharacters 

               PCRE API 

               Unicode Support 

               Examples 

               Other Resources 

     Apache Web Server 

               Supported Metacharacters 

               RewriteRule 

               Matching Directives 

               Examples 

     vi Editor 

               Supported Metacharacters 

               Pattern Matching 

               Examples 

               Other Resources 

     Shell Tools 

               Supported Metacharacters 

               Other Resources 

Index