Parsee/src/include/Glob.h
LDA aa71c5cfeb [AYA] See alsos, live-alongs, more documentation
I need to work on _actual_ Parsee, now
2024-08-05 15:23:33 +02:00

17 lines
460 B
C

#ifndef PARSEE_GLOB_H
#define PARSEE_GLOB_H
/*-*
* A simple Matrix globrule matcher.
* -----------------
* Written-By: LDA */
#include <stdbool.h>
/** Verifies if a string matches a rule, as specified in the Matrix
* specification on globrules.
* -----------------
* Returns: true if it does match, otherwise false
* See-Also https://spec.matrix.org/v1.11/appendices/#glob-style-matching */
extern bool GlobMatches(char *rule, char *string);
#endif