Mastering Regular Expressions, 2/e
暫譯: 精通正則表達式(第二版)

Jeffrey E. F. Friedl

  • 出版商: O'Reilly
  • 出版日期: 2002-07-15
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 496
  • 裝訂: Paperback
  • ISBN: 0596002890
  • ISBN-13: 9780596002893
  • 已過版

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

商品描述

Regular expressions are an extremely powerful tool for manipulating text and data. They have spread like wildfire in recent years, now offered as standard features in Perl, Java, VB.NET and C# (and any language using the .NET Framework), PHP, Python, Ruby, Tcl, MySQL, awk, Emacs, and many other popular tools and languages.

If you don't use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage. If you think you know all you need to know about regular expressions, this book is a stunning eye-opener.

In spite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide range of problems.

A command of regular expressions is an invaluable skill. Yet what is power in the hands of an expert can be fraught with peril for the unwary. Mastering Regular Expressions will help you navigate the minefield to becoming an expert. Once you've mastered regular expressions, they'll become an invaluable part of your toolkit. You will wonder how you ever got by without them.

Mastering Regular Expressions, Second Edition has been thoroughly updated to include all the new features of Perl 5.8, as well as several other languages, including Java, VB.NET, C#, Python, JavaScript, Tcl, and Ruby. Written in the lucid, entertaining tone that made a complex, dry topic crystal-clear to thousands of programmers, and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions offers a wealth information that you can put to immediate use.

Topics include:

  • A comparison of features among different versions of many languages and tools
  • How the regular expression engine works
  • Optimization (major savings available here!)
  • Matching just what you want, but not what you don't want
  • Sections and chapters on individual languages

Table of Contents

Preface

1: Introduction to Regular Expressions

2: Extended Introductory Examples

3: Overview of Regular Expression Features and Flavors

4: The Mechanics of Expression Processing

5: Practical Regex Techniques

6: Crafting an Efficient Expression

7: Perl

8: Java

9: .NET

Index

商品描述(中文翻譯)

正規表達式是一種極為強大的文本和數據處理工具。近年來,它們如野火般迅速普及,現在已成為 Perl、Java、VB.NET 和 C#(以及任何使用 .NET Framework 的語言)、PHP、Python、Ruby、Tcl、MySQL、awk、Emacs 及許多其他流行工具和語言的標準功能。

如果你還沒有使用正規表達式,你將在本書中發現一個全新的掌握數據的世界。如果你已經在使用它們,你會欣賞本書前所未有的細節和廣度。如果你認為你已經知道所有關於正規表達式的知識,那麼這本書將讓你大開眼界。

儘管正規表達式廣泛可用、靈活且無與倫比的強大,但它們經常被低估。正規表達式允許你編寫複雜而微妙的文本處理代碼,這些是你從未想過可以自動化的。正規表達式可以為你節省時間和麻煩。它們可以用來設計優雅的解決方案來解決各種問題。

掌握正規表達式是一項無價的技能。然而,專家手中的力量對於不小心的人來說可能充滿危險。《正規表達式精通》將幫助你在成為專家的過程中避開地雷。一旦你掌握了正規表達式,它們將成為你工具箱中不可或缺的一部分。你會想知道自己是如何在沒有它們的情況下度過的。

《正規表達式精通》第二版已全面更新,以包含 Perl 5.8 的所有新功能,以及其他幾種語言,包括 Java、VB.NET、C#、Python、JavaScript、Tcl 和 Ruby。這本書以清晰、有趣的語調撰寫,使得這個複雜而枯燥的主題對成千上萬的程序員變得一目了然,並且穿插了針對複雜現實問題的解決方案,提供了豐富的信息,讓你可以立即使用。

主題包括:
- 不同版本的多種語言和工具之間的功能比較
- 正規表達式引擎的工作原理
- 優化(這裡有重大節省!)
- 精確匹配你想要的,而不是你不想要的
- 各種語言的章節和部分

目錄
前言

1: 正規表達式簡介
2: 擴展的入門範例
3: 正規表達式特性和變體概述
4: 表達式處理的機制
5: 實用的正規表達式技術
6: 編寫高效的表達式
7: Perl
8: Java
9: .NET
索引

最後瀏覽商品 (1)