Regular Expressions Cookbook"O'Reilly Media, Inc.", 2009/05/22 - 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:
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. |
目次
Chapter 1 Introduction to Regular Expressions | 1 |
Chapter 2 Basic Regular Expression Skills | 25 |
Chapter 3 Programming with Regular Expressions | 95 |
Chapter 4 Validation and Formatting | 213 |
Chapter 5 Words Lines and Special Characters | 285 |