#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <limits.h>#include "microregex_internal.h"Functions | |
| microregex_nfa_t | microregex_parse_regex (microregex_t, char *, char **, int) |
| void | microregex_destroy_nfa (microregex_nfa_t *) |
| microregex_t | microregex_create (char *regex) |
| void | microregex_destroy (microregex_t *regex_obj) |
| void | microregex_set_case_insensitivity (microregex_t regex_obj, int val) |
| microregex_t microregex_create | ( | char * | regex | ) |
Create regular expression object.
| regex | The regular expression to parse. |
| void microregex_destroy | ( | microregex_t * | regex_obj | ) |
Destroy regular expression object.
| regex_obj | The regular expression object to destroy. |
| void microregex_destroy_nfa | ( | microregex_nfa_t * | regex_obj | ) |
Destroy regular expression object.
| regex_obj | The regular expression object to destroy. |
| microregex_nfa_t microregex_parse_regex | ( | microregex_t | regex_obj, | |
| char * | regex, | |||
| char ** | end_char, | |||
| int | paren_start | |||
| ) |
Parse regular expression into an NFA.
| regex_obj | The regular expression object with state. | |
| regex | The regular expression to parse. | |
| end_char | The location where it stopped parsing | |
| paren_start | The starting nesting level. |
| void microregex_set_case_insensitivity | ( | microregex_t | regex_obj, | |
| int | val | |||
| ) |
Set case insensitivity of regular expression.
| regex_obj | The regular expression object to edit. | |
| val | Value to set flag to. |
1.5.6