JWM Source Documentation
match.h File Reference
Expression matching. More...
Go to the source code of this file.
Functions | |
| int | Match (const char *pattern, const char *expression) |
| Check if an expression matches a pattern. | |
Detailed Description
Function Documentation
| int Match | ( | const char * | pattern, |
| const char * | expression | ||
| ) |
Check if an expression matches a pattern.
- Parameters:
-
pattern The pattern to match against. expression The expression to check.
- Returns:
- 1 if there is a match, 0 otherwise.