$ command line cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet:------------------------------------------------ Apache regular expressions for mod_rewrite rules ------------------------------------------------ Text: . Any single character [chars] Character class: One of chars [^chars] Character class: None of chars text1|text2 Alternative: text1 or text2 ! Not Quantifiers: ? 0 or 1 of the preceding text * 0 or N of the preceding text (N > 0) + 1 or N of the preceding text (N > 1) Grouping: (text) Grouping of text (either to set the borders of an alternative or for making backreferences where the Nth group can be used on the right of a RewriteRule with $N) Anchors: ^ Start of line anchor $ End of line anchor Escaping: \char escape that particular char (for instance to specify the chars ".[]()" etc.) [L] stop rewrite here [N] re-run rules from start - watch for loops! [C] chain with next rule - if no match, following chained rules are ignored
Your cheat sheet will be editable (fixable) by anyone. Each cheat sheet is essentially a wiki page. It may also be used by millions of people for reference purposes from the comfort of their command line. If this is okay with you, please save.