struct trc_re_subst

Overview

Regular expression substitution More…

#include <re_subst.h>

struct trc_re_subst {
    // fields

    regex_t re;
    unsigned int max_match;
    char* str;
    trc_re_match_substs with;
    regmatch_t* matches;

    // methods

    TAILQ_ENTRY(trc_re_subst);
};

Detailed Documentation

Regular expression substitution

Fields

regex_t re

Compiled regular expression

unsigned int max_match

Number of used matches in substitution

char* str

Substitution string

trc_re_match_substs with

Substitute with

regmatch_t* matches

Match data

Methods

TAILQ_ENTRY(trc_re_subst)

List links