Introducing Regular Expressions (Paperback)
暫譯: 正則表達式入門 (平裝本)

Michael Fitzgerald

  • 出版商: O'Reilly
  • 出版日期: 2012-08-28
  • 定價: $1,650
  • 售價: 8.0$1,320
  • 語言: 英文
  • 頁數: 154
  • 裝訂: Paperback
  • ISBN: 1449392687
  • ISBN-13: 9781449392680
  • 立即出貨(限量) (庫存=4)

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

商品描述

If you’re a programmer new to regular expressions, this easy-to-follow guide is a great place to start. You’ll learn the fundamentals step-by-step with the help of numerous examples, discovering first-hand how to match, extract, and transform text by matching specific words, characters, and patterns.

Regular expressions are an essential part of a programmer’s toolkit, available in various Unix utlilities as well as programming languages such as Perl, Java, JavaScript, and C#. When you’ve finished this book, you’ll be familiar with the most commonly used syntax in regular expressions, and you’ll understand how using them will save you considerable time.

  • Discover what regular expressions are and how they work
  • Learn many of the differences between regular expressions used with command-line tools and in various programming languages
  • Apply simple methods for finding patterns in text, including digits, letters, Unicode characters, and string literals
  • Learn how to use zero-width assertions and lookarounds
  • Work with groups, backreferences, character classes, and quantifiers
  • Use regular expressions to mark up plain text with HTML5

商品描述(中文翻譯)

如果您是一位對正規表達式感到陌生的程式設計師,這本易於理解的指南是個很好的起點。您將透過許多範例逐步學習基本概念,親自發現如何通過匹配特定的單詞、字符和模式來匹配、提取和轉換文本。

正規表達式是程式設計師工具箱中不可或缺的一部分,存在於各種 Unix 工具以及 Perl、Java、JavaScript 和 C# 等程式語言中。當您完成這本書後,您將熟悉正規表達式中最常用的語法,並了解使用它們將為您節省大量時間。

- 了解正規表達式是什麼以及它們如何運作
- 學習在命令行工具和各種程式語言中使用的正規表達式之間的許多差異
- 應用簡單的方法來尋找文本中的模式,包括數字、字母、Unicode 字符和字串文字
- 學習如何使用零寬斷言和環顧
- 使用群組、回參考、字符類和量詞
- 使用正規表達式將純文本標記為 HTML5