1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tests/test_tables_sections_mixed.txt Mon Jun 10 18:40:35 2013 +0200
1.3 @@ -0,0 +1,21 @@
1.4 +Here are some examples of possible regular expressions and matching lines:
1.5 +|| Regular expression || Matching lines ||
1.6 +| zuff | Keywords: zuff |
1.7 +| zuff | Keywords: ZUFF |
1.8 +| zuff | Keywords: Zuff |
1.9 +| zuff | Keywords: amaryllis, zuff, applesauce |
1.10 +| zuff | Subject: \[zuff\] Do you have the right stuff for zuff? |
1.11 +| zuff | Subject: Do you have the right stuff for zuff? |
1.12 +| zuff | Subject: What is zuff? |
1.13 +| {noformat:nopanel=true}
1.14 + \[zuff\]
1.15 +{noformat} | Keywords: \[zuff\] |
1.16 +| {noformat:nopanel=true}
1.17 + \[zuff\]
1.18 +{noformat} | Subject: \[zuff\] Do you have the right stuff? |
1.19 +| {noformat:nopanel=true}
1.20 + \[zuff\]
1.21 +{noformat} | Subject: Online zuff tutorials (was Re: \[zuff\] What is zuff?) |
1.22 +A few notes:
1.23 +* The matching is case-insensitive, so if zuff matches, so will ZUFF, zuFF, and any other variations in capitalization.
1.24 +* Some characters have special meaning in a regular expression, so to match those characters specifically, they must be "escaped" with a backslash (). As you can see in the above example, \[ and \] are such characters. (Others include ".", "?", and "*"). The backslash is also used for other things (I wasn't kidding about regular expressions being complex: consult other documentation for details about other uses of the backslash character), but this is the most likely use in a topic expression.