| Regular Expressions
|
|
[^0-9a-zA-Z] |
Matches any symbol (but not a number or a letter) |
[A-Z][A-Z]* |
Matches one or more uppercase letters |
[0-9]{3}-[0-9]{2}-[0-9]{4} |
US social security number, e.g. 123-45-6789 |
|
|
< < |
PNG;Chart |
Search for topics containing the words PNG and Chart. The ";" and separator is TWiki-specific and is not a regular expression; it is a useful facility that is enabled when regular expression searching is enabled. |
|
> > |
Chart;PNG;!JPG |
Search for topics containing the words Chart and PNG and not JPG. The ";" and "!" are TWiki-specific operators and are not part of regular expression |
|
|
Searches with "and" combinations |
|
< < |
- TWiki extends the regular expressions with an and search. The delimiter is a semicolon
; . Example search for "form" and "template": form;template
|
> > | A TWiki type="regex" SEARCH introduces two special characters to regular expressions:
- The semicolon
";" is an AND-operator. Example search for "form" and "template": form;template
- The exclamation point
"!" as a NOT-operator. Example search for "soap" and "wsdl" and not "shampoo": soap;wsdl;!shampoo
|
| |
|
< < |
- Use Google if your TWiki site is public. Example search for "form" and "template" at TWiki.org:
site:twiki.org +form +template
|
> > | TWiki also supports a SQL-like query search where you can literally use AND and NOT operators.
Use Google if your TWiki site is public. Example search for "form" and "template" at TWiki.org: site:twiki.org +form +template |
|
Advanced |
| |
|
< < | Related Topics: UserDocumentationCategory |
> > | Related Topics: UserDocumentationCategory, VarSEARCH, FormattedSearch, QuerySearch
-- Contributors: PeterThoeny , JohnTalintyre |