Vte.Regex
Description: Reference for Vte.Regex

### Struct

# VteRegex

unstable since: 2.91

#### Description

    struct VteRegex {
      /* No available fields */
    }

No description available.

Available since: 2.91

#### Constructors

###### vte_regex_new_for_match

Compiles `pattern` into a regex for use as a match regex with `vte_terminal_match_add_regex()` or vte_terminal_event_check_regex_simple().

unstable since: 2.91

###### vte_regex_new_for_search

Compiles `pattern` into a regex for use as a search regex with vte_terminal_search_set_regex().

unstable since: 2.91

#### Instance methods

###### vte_regex_jit

If the platform supports JITing, JIT compiles `regex`.

unstable since: 2.91

###### vte_regex_ref

Increases the reference count of `regex` by one.

unstable since: 2.91

###### vte_regex_substitute

See man:pcre2api(3) and man:pcre2_substitute(3) for more information.

since: 0.56

###### vte_regex_unref

Decreases the reference count of `regex` by one, and frees `regex` if the refcount reaches zero.

unstable since: 2.91