vte.regex

Module for [Regex] class

class Regex

Types 1

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Regex self()Returns `this`, for use in `with` statements.
vte.regex.Regex newForMatch(string pattern, uint flags)Compiles pattern into a regex for use as a match regex with [vte.terminal.Terminal.matchAddRegex] or [vte.terminal.Terminal.eventCheckRegexSimple].
vte.regex.Regex newForMatchFull(string pattern, uint flags, uint extraFlags, out size_t errorOffset)Compiles pattern into a regex for use as a match regex with [vte.terminal.Terminal.matchAddRegex] or [vte.terminal.Terminal.eventCheckRegexSimple].
vte.regex.Regex newForSearch(string pattern, uint flags)Compiles pattern into a regex for use as a search regex with [vte.terminal.Terminal.searchSetRegex].
vte.regex.Regex newForSearchFull(string pattern, uint flags, uint extraFlags, out size_t errorOffset)Compiles pattern into a regex for use as a search regex with [vte.terminal.Terminal.searchSetRegex].
bool jit(uint flags)If the platform supports JITing, JIT compiles regex.
string substitute(string subject, string replacement, uint flags)See man:pcre2api(3) and man:pcre2_substitute(3) for more information.
Constructors
this(void * ptr, Flag!"Take" take)