Where can I find basic information on Regex? My textbook does not explain开发者_开发问答 it very well.
- http://www.regular-expressions.info/
- http://www.cheat-sheets.org/#RegularExpressions
- http://www.w3schools.com/jsref/jsref_obj_regexp.asp
- http://www.codinghorror.com/blog/2008/06/regular-expressions-now-you-have-two-problems.html
perldoc perlrequick
perldoc perlre
I wrote a tutorial some time ago. Here's the link: http://tech.bluesmoon.info/2006/04/beginning-regular-expressions.html
A couple of books,
The AWK Programming Language - Aho, Kernighan, Weinberger Mastering Regular Expressions - Jeffrey Friedl
and a paper.
Regular Expression Matching Can Be Simple And Fast (but is slow in Java, Perl, PHP, Python, Ruby, ...)
If you're wanting to find tools to help with regex pattern matching as well, the best one I've found is here:
http://www.gskinner.com/RegExr/desktop/
And it's completely free. It also has some examples to help you, too. Hope this helps!
精彩评论