NeoMutt  2022-04-29-247-gc6aae8
Teaching an old dog new tricks
DOXYGEN
RegexColor Struct Reference

A regular expression and a color to highlight a line. More...

#include "regex4.h"

+ Collaboration diagram for RegexColor:

Public Member Functions

 STAILQ_ENTRY (RegexColor) entries
 Linked list. More...
 

Data Fields

struct AttrColor attr_color
 Colour and attributes to apply. More...
 
char * pattern
 Pattern to match. More...
 
regex_t regex
 Compiled regex. More...
 
int match
 Substring to match, 0 for old behaviour. More...
 
struct PatternList * color_pattern
 Compiled pattern to speed up index color calculation. More...
 
bool stop_matching: 1
 Used by the pager for body patterns, to prevent the color from being retried once it fails. More...
 

Detailed Description

A regular expression and a color to highlight a line.

Definition at line 36 of file regex4.h.

Member Function Documentation

◆ STAILQ_ENTRY()

RegexColor::STAILQ_ENTRY ( RegexColor  )

Linked list.

Field Documentation

◆ attr_color

struct AttrColor RegexColor::attr_color

Colour and attributes to apply.

Definition at line 38 of file regex4.h.

◆ pattern

char* RegexColor::pattern

Pattern to match.

Definition at line 39 of file regex4.h.

◆ regex

regex_t RegexColor::regex

Compiled regex.

Definition at line 40 of file regex4.h.

◆ match

int RegexColor::match

Substring to match, 0 for old behaviour.

Definition at line 41 of file regex4.h.

◆ color_pattern

struct PatternList* RegexColor::color_pattern

Compiled pattern to speed up index color calculation.

Definition at line 42 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 44 of file regex4.h.


The documentation for this struct was generated from the following file: