paul@86 | 1 | Here are some examples of possible regular expressions and matching lines:
|
paul@86 | 2 | || Regular expression || Matching lines ||
|
paul@86 | 3 | | zuff | Keywords: zuff |
|
paul@86 | 4 | | zuff | Keywords: ZUFF |
|
paul@86 | 5 | | zuff | Keywords: Zuff |
|
paul@86 | 6 | | zuff | Keywords: amaryllis, zuff, applesauce |
|
paul@86 | 7 | | zuff | Subject: \[zuff\] Do you have the right stuff for zuff? |
|
paul@86 | 8 | | zuff | Subject: Do you have the right stuff for zuff? |
|
paul@86 | 9 | | zuff | Subject: What is zuff? |
|
paul@86 | 10 | | {noformat:nopanel=true}
|
paul@86 | 11 | \[zuff\]
|
paul@86 | 12 | {noformat} | Keywords: \[zuff\] |
|
paul@86 | 13 | | {noformat:nopanel=true}
|
paul@86 | 14 | \[zuff\]
|
paul@86 | 15 | {noformat} | Subject: \[zuff\] Do you have the right stuff? |
|
paul@86 | 16 | | {noformat:nopanel=true}
|
paul@86 | 17 | \[zuff\]
|
paul@86 | 18 | {noformat} | Subject: Online zuff tutorials (was Re: \[zuff\] What is zuff?) |
|
paul@86 | 19 | A few notes:
|
paul@86 | 20 | * The matching is case-insensitive, so if zuff matches, so will ZUFF, zuFF, and any other variations in capitalization.
|
paul@86 | 21 | * 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.
|