Wildcards
Keywords can also contain wildcards or character substitution symbols. There are two characters that can be used in CatView
- ? - represents any one (1) single character
- * - represents zero or many characters
Example 1
dr?nk
If you enter dr?nk into Keyword 1, you will retrieve a list of lines which contain the characters "dri", followed by any single character, followed by "k".
Examples of a match are: "drink", "drank", "drunk"
Example 2
per*n
If you enter per*n into keyword 1, you will retrive a list of lines which contain the characters "per", followed by zero or more of any characters, followed by "n".
Examples of a match are: "person", "pern", "percussion"
It's worth noting that there is an implicit '*' on either side of any keyword you type. For example, entering bob into keyword 1, is actually equivalent to *bob*.
In light of this, further matches for Example 2 above would be: "performance" and "whispering"
If the literal characters '?' and '*' are required within a keyword, then they should be preceeded with a '\' character.
eg. If searching for two star characters ('**') in a row then type '\*\*'