number glob(text, pattern)
Returns 1 if text matches the glob pattern, 0 if not.
Glob, or “blobbing”, is a type of pattern matching based on wildcard characters.
Pattern symbols with special meaning:
Symbol | Match |
---|---|
? | Match one unknown character |
* | Match zero or more unknown characters |
\ | Avoid interpreting the following wildcard symbol |