文档介绍:Softw;lrc Devc!opment/ Programming
O'REILLY®
Regular Expressions Cookbook
This cookbook provides more than 100 recipes
to help you crunch data ,md manipuhnc tcxt with "This is a well-researched
. . ' regular expressions. Every programmer c:m find hook, f ull q( il?(ormation.
~ uses for regular expressions, but their power !Iearned a number of
doesn'e worry-free. Even seasoned users often suiTer new tricks just hy reading
from poor pertormance, false positives, false negatives. or
the introductory chapter. "
perplexing bugs. Regular BprcssiollS Cookbook offers step•
by-step instructions for some of the mon tasks -Nikolaj Lindb~ rg.
l"O mputatio nal
involving this tool, with recipes for C=-, -"Iva , jav:IScript, Perl, linguist, SITS S p~~ch
1'1-11', Python, I ~uby, :Ind V . Te chnology Services
With this book. you will: "Regular Expressions
• Understand the basics of regular expressions through a Cookbook provides
concise tutorial elegant solulions/or
• Use regular expressions effec ti vel y in sever-I I immediate problems.
programming and scripting languages Overall, ! am stunned
• how to validate and format input at the altel/lion to detail
• j\lanage words, lines, special characters, and nu meric;11 in Ihe recipes."
va lues -Zak Greant, open
technology advocate
• Find solut ions for lI sing regular expressions in URLs, and strategist
pmhs, markup, and data exchange
• Learn the nuances of more advanced regex fe;u urt:s
jan Goyvaens runs Just Gre:u
• Understand how regular expressions' Af'l s, syntax, and
50ftw:lre, where he designs
behavior differ from language to language
and develops some of the mosl
• Write better regular expressions for custom needs popular regular expressions
Whether you're a novice or ,m experienced user, Neglliar software.
E.. \p ressiolls Cookbook will help deepen your knowledge of Steven Levit han is a leading
this unique and irrep