shell_match (text, pattern)
This function compares the text to the pattern using shell-style wildcard rules. The available patterns are as follows:
* matches any number of characters, including zero.
[c] matches a single character which is a member of the set contained within the square brackets.
[^c] matches any single character which is not a member of the set contained within the square brackets.
? matches a single character.
{xx,yy} matches either of the simple strings contained within the braces.
\c (a backslash followed by a character) - matches that character.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.