Publisher: O'Reilly Media Released: May 2009 Pages: 510
This cookbook provides more than 100 recipes to help you crunch data and manipulate text with regular expressions. Every programmer can find uses for regular expressions, but their power doesn't come worry-free. Even seasoned users often suffer from poor performance, false positives, false negatives, or perplexing bugs. Regular Expressions Cookbook offers step-by-step instructions for some of the most common tasks involving this tool, with recipes for C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. With this book, you will: - Understand the basics of regular expressions through a concise tutorial
- Use regular expressions effectively in several programming and scripting languages
- Learn how to validate and format input
- Manage words, lines, special characters, and numerical values
- Find solutions for using regular expressions in URLs, paths, markup, and data exchange
- Learn the nuances of more advanced regex features
- Understand how regular expressions' APIs, syntax, and behavior differ from language to language
- Write better regular expressions for custom needs
Whether you're a novice or an experienced user, Regular Expressions Cookbook will help deepen your knowledge of this unique and irreplaceable tool. You'll learn powerful new tricks, avoid language-specific gotchas, and save valuable time with this huge library of proven solutions to difficult, real-world problems. |
- Title:
- Regular Expressions Cookbook
- By:
- Jan Goyvaerts, Steven Levithan
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- May 2009
- Ebook:
- June 2009
- Pages:
- 510
- Print ISBN:
- 978-0-596-52068-7
- | ISBN 10:
- 0-596-52068-9
- Ebook ISBN:
- 978-0-596-80278-3
- | ISBN 10:
- 0-596-80278-1
|
-
Jan Goyvaerts Jan Goyvaerts runs Just Great Software, where he designs and develops some of the most popular regular expression software. His products include RegexBuddy, the world's only regular expression editor that emulates the peculiarities of 15 regular expression flavors, and PowerGREP, the most feature-rich grep tool for Microsoft Windows. View Jan Goyvaerts's full profile page. -
Steven Levithan Steven Levithan is a leading JavaScript regular expression expert and runs a popular regular expression centric blog athttp://blog.stevenlevithan.com. Expanding his knowledge of the regular expression flavor and library landscape has been one of his hobbies for the last several years. View Steven Levithan's full profile page. |
Colophon The image on the cover of Regular Expressions Cookbook is a musk shrew (genus Crocidura, family Soricidae). Several types of musk shrews exist, including white- and red-toothed shrews, gray musk shrews, and red musk shrews. The shrew is native to South Africa and India. While several physical characteristics distinguish one type of shrew from another, all shrews share certain commonalities. For instance, shrews are thought to be the smallest insectivores in the world, and all have stubby legs, five claws on each foot, and an elongated snout with tactile hairs. Differences include color variations among their teeth (most noticeably in the aptly named white- and red-toothed shrews) and in the color of their fur, which ranges from red to brown to gray. Though the shrew usually forages for insects, it will also help farmers keep vermin in check by eating mice or other small rodents in their fields. Many musk shrews give off a strong, musky odor (hence their common name), which they use to mark their territory. At one time it was rumored that the musk shrew's scent was so strong that it would permeate any wine or beer bottles that the shrew happened to pass by, thus giving the liquor a musky taint, but the rumor has since proved to be false. The cover image is from Lydekker's Royal Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Ethan Watrall, Jeff Siarto
December 2008
Ebook: $39.99
Print & Ebook: $54.99
Print: $49.99
By Dux Raymond Sy
October 2008
By Randal L. Schwartz, Tom Phoenix, brian d foy
June 2008
|
Customer Reviews
10/31/2011 (1 of 1 customers found this review helpful) 4.0It may have a cute name but gets the job By Proffesor from Los Angeles, Ca - Accurate
- Clear information
- Easy to understand
- Helpful examples
- Well-written
10/12/2010 (2 of 2 customers found this review helpful) 3.0Comprehensive but hard to read By krzysztof wolowski from poland, wroclaw 8/17/2010 (5 of 18 customers found this review helpful) 7/13/2010 (3 of 3 customers found this review helpful) 2.0No Examples or sample code available By visProcessEng from Houston, Tx 11/16/2009 (1 of 2 customers found this review helpful) By php developer from plano, texas - Accurate
- Concise
- Helpful examples
10/11/2009 (4 of 7 customers found this review helpful) 5.0Will Pay For Itself In Just One Use By Larry from Somerville, MA 8/24/2009 (5 of 6 customers found this review helpful) 4.0If All You Have Is a Hammer... By joshSVUG from Undisclosed
|
|
|