#include <stdlib.h>
#include "oval_glob_to_regex.h"
#include "common/oscap_string.h"
#include "common/debug_priv.h"
Enumerations | |
| enum | states { START, NORMAL, LEFT_BRACKET, CLASS, ESCAPE, SLASH } |
Functions | |
| char * | oval_glob_to_regex (const char *glob, int noescape) |
| Converts unix shell glob to Perl 5 regular expression. | |
See more details at http://oval.mitre.org/
| char* oval_glob_to_regex | ( | const char * | glob, | |
| int | noescape | |||
| ) |
Converts unix shell glob to Perl 5 regular expression.
| glob | input glob | |
| noescape | Tells if backslash is treated as an escape character. |
1.5.6