|
|
@ -954,7 +954,12 @@ skipwhite: |
|
|
|
|
|
|
|
|
|
|
|
int matchpattern( const char *in, const char *pattern, qboolean caseinsensitive ) |
|
|
|
int matchpattern( const char *in, const char *pattern, qboolean caseinsensitive ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return matchpattern_with_separator( in, pattern, caseinsensitive, "/\\:", false ); |
|
|
|
const char *separators = "/\\:"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( !Q_strcmp( pattern, "*" )) |
|
|
|
|
|
|
|
separators = ""; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return matchpattern_with_separator( in, pattern, caseinsensitive, separators, false ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// wildcard_least_one: if true * matches 1 or more characters
|
|
|
|
// wildcard_least_one: if true * matches 1 or more characters
|
|
|
|