A regular expression and a color to highlight a line.
More...
#include "regex4.h"
|
struct AttrColor | attr_color |
| Colour and attributes to apply.
|
|
char * | pattern |
| Pattern to match.
|
|
regex_t | regex |
| Compiled regex.
|
|
int | match |
| Substring to match, 0 for old behaviour.
|
|
struct PatternList * | color_pattern |
| Compiled pattern to speed up index color calculation.
|
|
bool | stop_matching: 1 |
| Used by the pager for body patterns, to prevent the color from being retried once it fails.
|
|
A regular expression and a color to highlight a line.
Definition at line 35 of file regex4.h.
◆ STAILQ_ENTRY()
◆ attr_color
Colour and attributes to apply.
Definition at line 37 of file regex4.h.
◆ pattern
char* RegexColor::pattern |
◆ regex
regex_t RegexColor::regex |
Compiled regex.
Definition at line 39 of file regex4.h.
◆ match
Substring to match, 0 for old behaviour.
Definition at line 40 of file regex4.h.
◆ color_pattern
struct PatternList* RegexColor::color_pattern |
Compiled pattern to speed up index color calculation.
Definition at line 41 of file regex4.h.
◆ stop_matching
bool RegexColor::stop_matching |
Used by the pager for body patterns, to prevent the color from being retried once it fails.
Definition at line 43 of file regex4.h.
The documentation for this struct was generated from the following file: