Regular Expressions Cookbook, 2/e (Paperback)
暫譯: 正則表達式食譜(第二版)

Jan Goyvaerts, Steven Levithan

  • 出版商: O'Reilly
  • 出版日期: 2012-10-02
  • 定價: $2,160
  • 售價: 9.0$1,944
  • 語言: 英文
  • 頁數: 612
  • 裝訂: Paperback
  • ISBN: 1449319432
  • ISBN-13: 9781449319434
  • 立即出貨 (庫存 < 4)

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

相關主題

商品描述

Take the guesswork out of using regular expressions. With more than 140 practical recipes, this cookbook provides everything you need to solve a wide range of real-world problems. Novices will learn basic skills and tools, and programmers and experienced users will find a wealth of detail. Each recipe provides samples you can use right away.

This revised edition covers the regular expression flavors used by C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. You’ll learn powerful new tricks, avoid flavor-specific gotchas, and save valuable time with this huge library of practical solutions.

  • Learn regular expressions basics through a detailed tutorial
  • Use code listings to implement regular expressions with your language of choice
  • Understand how regular expressions differ from language to language
  • Handle common user input with recipes for validation and formatting
  • Find and manipulate words, special characters, and lines of text
  • Detect integers, floating-point numbers, and other numerical formats
  • Parse source code and process log files
  • Use regular expressions in URLs, paths, and IP addresses
  • Manipulate HTML, XML, and data exchange formats
  • Discover little-known regular expression tricks and techniques

商品描述(中文翻譯)

將使用正則表達式的猜測排除在外。本食譜書提供超過 140 個實用的範例,涵蓋解決各種現實世界問題所需的一切。初學者將學習基本技能和工具,而程式設計師和有經驗的使用者則會發現豐富的細節。每個範例都提供可以立即使用的樣本。

本修訂版涵蓋 C#、Java、JavaScript、Perl、PHP、Python、Ruby 和 VB.NET 所使用的正則表達式風格。您將學習強大的新技巧,避免特定風格的陷阱,並利用這個龐大的實用解決方案庫節省寶貴的時間。

- 通過詳細的教程學習正則表達式的基本知識
- 使用程式碼清單在您選擇的語言中實現正則表達式
- 理解正則表達式在不同語言中的差異
- 使用驗證和格式化的範例處理常見的使用者輸入
- 查找和操作單詞、特殊字符和文本行
- 檢測整數、浮點數和其他數字格式
- 解析源代碼和處理日誌文件
- 在 URL、路徑和 IP 地址中使用正則表達式
- 操作 HTML、XML 和數據交換格式
- 發現鮮為人知的正則表達式技巧和技術