Top |
Functions
VteRegex * | vte_regex_ref () |
VteRegex * | vte_regex_unref () |
VteRegex * | vte_regex_new_for_match () |
VteRegex * | vte_regex_new_for_search () |
gboolean | vte_regex_jit () |
Functions
vte_regex_ref ()
VteRegex *
vte_regex_ref (VteRegex *regex
);
Decreases the reference count of regex
by one, and frees regex
if the refcount reaches zero.
vte_regex_new_for_match ()
VteRegex * vte_regex_new_for_match (const char *pattern
,gssize pattern_length
,guint32 flags
,GError **error
);
Compiles pattern
into a regex for use as a match regex
with vte_terminal_match_add_regex()
or
vte_terminal_event_check_regex_simple()
.
See man:pcre2pattern(3) for information about the supported regex language.
The regex will be compiled using PCRE2_UTF
and possibly other flags, in
addition to the flags supplied in flags
.
vte_regex_new_for_search ()
VteRegex * vte_regex_new_for_search (const char *pattern
,gssize pattern_length
,guint32 flags
,GError **error
);
Compiles pattern
into a regex for use as a search regex
with vte_terminal_search_set_regex()
.
See man:pcre2pattern(3) for information about the supported regex language.
The regex will be compiled using PCRE2_UTF
and possibly other flags, in
addition to the flags supplied in flags
.