Interface StringToHtmlReplacement

interface StringToHtmlReplacement {
    compiled_expression: RegExp;
    expression: string;
    flags: string;
    template: string;
}

Properties

compiled_expression: RegExp

Internal: the compiled regular expression.

expression: string

The regexp expression that must match to do the replacement.

flags: string

The regexp flags.

template: string

The template to use to create a new value as replacement if the regex matches.