mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Implement documented wildcard escaping in wnmatch_sub
This commit is contained in:
parent
3bd3eff451
commit
35977dadc9
3 changed files with 45 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ unsigned strtou(const char* nptr, char** endptr, int base);
|
|||
* - ** (not near a /) like *
|
||||
* - ##/ reduces to nothing in addition to the normal matching of ** (using # instead of * to not mess the C comment)
|
||||
* - [...] matches character classes with support for ranges and negation lile [!...] or [^...], except /
|
||||
* - \ escapes *, ?, [, ], and \
|
||||
*
|
||||
* \return 0 if it matches
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue