tags:

views:

67

answers:

4

Hi, Where an I find some nice regex reference cards that I can download/buy?

A: 

Maybe you can try this "Cheat Sheet".

Arno
That cheat sheet lists `<` and `>` as meta characters that always need escaping, which is not true.
Bart Kiers
Actually it depends of the flavour of your Regex engine... If you want to know more you can consult "Mastering Regular Expressions" (http://books.google.fr/books?id=GX3w_18-JegC) from Jeffrey E. F. Friedl.
Arno
In most PCRE regex engines (Perl, Java, PHP, Python, JS, ...), they're no meta characters. If you mean to say Friedl's books says so differently, please cite the page number and I'll look it up in my own copy of the book.
Bart Kiers
The fact that `<` is used in look-arounds or `<` and `>` for named groups does not mean they're meta characters. If that were the case, characters like `=` and `!` would also be meta characters (which is not the case).
Bart Kiers
Ok, I did not read your comment well at the first time... and you are absolutely right... Those are not meta characters.I advised the author. Thanks for the feedback (in fact, i don't use this part of the cheat sheet since escaping is so different between 2 Regex tools).
Arno
A: 

regexlib and it's cheatsheet are also worth a try (.net centric).

Sander
A: 

Look also at refcards.com.

fgm