i3
|
Regular expression wrapper. More...
#include <data.h>
Data Fields | |
char * | pattern |
pcre * | regex |
pcre_extra * | extra |
Regular expression wrapper.
It contains the pattern itself as a string (like ^foo[0-9]$) as well as a pointer to the compiled PCRE expression and the pcre_extra data returned by pcre_study().
This makes it easier to have a useful logfile, including the matching or non-matching pattern.
pcre_extra* regex::extra |
Definition at line 218 of file data.h.
Referenced by regex_free(), regex_matches(), and regex_new().
char* regex::pattern |
Definition at line 216 of file data.h.
Referenced by regex_free(), regex_matches(), and regex_new().
pcre* regex::regex |
Definition at line 217 of file data.h.
Referenced by regex_free(), regex_matches(), and regex_new().