| Scans the given text for a pattern, indicating if the text matched
the pattern or not. The pattern wildcards are as follows:
- ? matches any single character.
- * matches zero or more characters.
The text must match the entire pattern, or it is not considered
a match. That is, if "floss*" is the pattern, then it will only
match text that begins with "floss", while "floss?" will match
"flossy" but not "floss" since it expects an additional character.
Note that * is greedy, such that "*foo" will match "foofoofoo".
Parameters: text - the text in which to look for the pattern. Parameters: query - the pattern to match, may contain wildcards. true if matches, false otherwise. |