Is there a good set of regular expression tutorials? In particular, in the context of TextMate ? I am familiar with regular expression syntax and basic concepts. I even own a copy of Jeffrey Friedl’s book, Mastering Regular Expressions, and have read at least part of Perl.
I am looking for some high-quality demonstrations of using regular expressions with a clear explanation of the matching pattern and decomposition of the syntax of regular expressions. I want to take my regular expression fu to the next level. I want to be able to think in regular expressions, but I need something tangible to practice, to cement knowledge in my head.
What would be useful are some examples of text and code for working with specific tasks and corresponding regular expression solutions, preferably functional in the context of TextMate. The place where I find that I want to use it the most is in a text editor. Therefore, the ability to perform powerful search and replace functions is required. And sometimes just look. Thus, the convenience of quickly writing a partial regular expression that narrows the results down and then parses a complex document iteratively would be convenient.
Perhaps an interactive demo when patterns are displayed when typing a regular expression. And some useful templates and examples for testing and playing. Maybe some regex flash cards or a simple regex game.
For you regular expression guru, what have you done to truly consolidate your understanding of regular expressions?
source
share