labwc/include/common/match.h
Johan Malm 279555317f docs: simplify description of shell wildcard patterns
...to align with glob(7) language

Reported-by: @vyivel
2024-12-01 16:41:31 +00:00

15 lines
385 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_MATCH_H
#define LABWC_MATCH_H
#include <stdbool.h>
/**
* match_glob() - Pattern match using shell wildcard rules (see glob(7))
* @pattern: Pattern to match against.
* @string: String to search.
* Note: Comparison case-insensitive.
*/
bool match_glob(const char *pattern, const char *string);
#endif /* LABWC_MATCH_H */