Sams Teach Yourself Regular Expressions in 10 Minutes
暫譯: Sams 10分鐘學會正規表達式

Ben Forta

  • 出版商: SAMS
  • 出版日期: 2004-02-24
  • 售價: $910
  • 貴賓價: 9.5$865
  • 語言: 英文
  • 頁數: 160
  • 裝訂: Paperback
  • ISBN: 0672325667
  • ISBN-13: 9780672325663
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Regular expressions and the regular expression language have been around for many years. Regular expression experts have long been armed with an incredibly powerful tool, one that can be used to perform all sorts of powerful text processing and manipulation in just about every language and on every platform.

That's the good news. The bad news is that for too long, regular expressions have been the exclusive property of only the most tech savvy. Most of us do not fully understand what regular expressions do and what problems they solve. And those who have braved them find regular expression syntax to be unintuitive, and even convoluted at times. That's sad, because the truth is that regular expressions are nowhere near as complex as they appear to be at first glance. All it takes is a clear understanding of the problem being solved and how to leverage regular expressions so as to solve them.

Part of the problem is the scarcity of quality content on the subject. The few books on regular expressions (and indeed, most of the Web sites boasting regular expression tutorials) tend to concentrate on the syntax, defining what { does and how + differs from *. But that is the easy part; there are not that many special characters in the regular expression language. The tricky part is understanding how they should be used so as to solve real-world problems. If you need to get up and running quickly using regular expressions, you'll find yourself torn between having too little information to be productive and having too much information to know where to begin.

And that is where this book comes in. Sams Teach Yourself Regular Expressions in 10 Minutes will teach you the regular expressions that you really need to know, starting with simple text matches and working up to more complex topics, including the use of backreferences, conditional evaluation, and look-ahead processing. You'll learn what you can use, and you'll learn it methodically, systematically, and simply by using clear and practical examples and solving real problems - all in lessons that will each take 10 minutes or less to complete.

To determine if this book is for you, answer these questions: Are you new to regular expressions? Do you want to quickly learn how to get the most out of the regular expression language? Do you want to gain an edge by learning to solve real problems using one of the most powerful (and least understood) tools available to you? Do you build Web applications and crave more sophisticated form and text processing? Are you are a developer (using Perl, ASP, Visual Basic, .NET, C#, Java, JSP, PHP, ColdFusion, and many other languages) and want to learn how to use regular expressions within your own application development? Do you want to be productive quickly and easily in regular expressions without having to call someone for help? If you answered yes to any of these questions, you'll find this little book to be exactly what you've been looking for.

商品描述(中文翻譯)

正則表達式及其語言已經存在多年。正則表達式專家長期以來一直擁有一個極其強大的工具,這個工具可以用來在幾乎所有語言和平台上執行各種強大的文本處理和操作。

好消息是如此。壞消息是,正則表達式長期以來一直是只有最懂技術的人所專有的財產。我們大多數人並不完全理解正則表達式的功能及其解決的問題。而那些勇於嘗試的人發現正則表達式的語法不直觀,有時甚至顯得複雜。這很可悲,因為事實是,正則表達式並不像乍看之下那麼複雜。所需的只是對所解決問題的清晰理解,以及如何利用正則表達式來解決這些問題。

問題的一部分在於該主題上優質內容的稀缺。關於正則表達式的幾本書(事實上,大多數聲稱提供正則表達式教程的網站)往往集中於語法,定義 { 的作用以及 + 與 * 的區別。但這是簡單的部分;正則表達式語言中的特殊字符並不多。棘手的部分是理解它們應該如何使用以解決現實世界中的問題。如果你需要快速上手使用正則表達式,你會發現自己在信息過少以至於無法有效工作和信息過多以至於不知道從何開始之間左右為難。

這就是本書的用武之地。《Sams Teach Yourself Regular Expressions in 10 Minutes》將教你真正需要知道的正則表達式,從簡單的文本匹配開始,逐步深入到更複雜的主題,包括回溯引用、條件評估和前瞻處理。你將學會可以使用的內容,並且將以清晰、實用的範例和解決實際問題的方式,系統性地、方法論地學習 - 每一課程都將在10分鐘或更短的時間內完成。

要確定這本書是否適合你,請回答以下問題:你是正則表達式的新手嗎?你想快速學會如何充分利用正則表達式語言嗎?你想通過學習使用這個最強大(且最不被理解)工具之一來解決實際問題而獲得優勢嗎?你是否在構建Web應用程序並渴望更複雜的表單和文本處理?你是一名開發者(使用 Perl、ASP、Visual Basic、.NET、C#、Java、JSP、PHP、ColdFusion 及其他許多語言),想學習如何在自己的應用開發中使用正則表達式嗎?你想在不需要尋求他人幫助的情況下快速輕鬆地提高正則表達式的生產力嗎?如果你對這些問題中的任何一個回答是肯定的,你會發現這本小書正是你一直在尋找的。