i3
|
Regular expression wrapper. More...
#include <data.h>
Data Fields | |
char * | pattern |
pcre2_code * | regex |
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.
char* regex::pattern |
Definition at line 281 of file data.h.
Referenced by match_matches_window(), regex_free(), regex_matches(), and regex_new().
pcre2_code* regex::regex |
Definition at line 282 of file data.h.
Referenced by regex_free(), regex_matches(), and regex_new().