Method
VteTerminalcheck_regex_array_at
Declaration [src]
char**
vte_terminal_check_regex_array_at (
VteTerminal* terminal,
double x,
double y,
VteRegex** regexes,
gsize n_regexes,
guint32 match_flags,
gsize* n_matches
)
Description [src]
Like vte_terminal_check_regex_simple_at(), but returns an array of strings,
containing the matching text (or NULL
if no match) corresponding to each of the
regexes in regexes
.
You must free each string and the array; but note that this is not a NULL
-terminated
string array, and so you must not use g_strfreev()
on it.
Available since: | 0.70 |
This method is renamed to vte_terminal_check_regex_simple_at() in language bindings |
Parameters
x |
double |
No description available. | |
y |
double |
No description available. | |
regexes |
An array of VteRegex* |
An array of |
|
The length of the array is specified in the n_regexes argument. | |
The data is owned by the caller of the function. | |
n_regexes |
gsize |
Number of items in |
|
match_flags |
guint32 |
PCRE2 match flags, or 0 |
|
n_matches |
gsize* |
Number of items in |
|
The argument will be set by the function. | |
The argument can be NULL . |
Return value
Returns: | An array of utf8 |
A newly allocated array of strings,
or |
|
The length of the array is in the n_matches argument. | |
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . | |
Each element is a NUL terminated UTF-8 string. |