match_check


Description:

[ Version ( deprecated = true , deprecated_since = "0.46" ) ]
public string? match_check (long column, long row, out int tag)

Warning: match_check is deprecated since 0.46.

Checks if the text in and around the specified position matches any of the regular expressions previously set using vte_terminal_match_add.

Note:

Use match_check_event instead.

If a match exists, the text string is returned and if tag is not null, the number associated with the matched regular expression will be stored in tag.

If more than one regular expression has been set with vte_terminal_match_add, then expressions are checked in the order in which they were added.

Parameters:

this

a Terminal

column

the text column

row

the text row

tag

a location to store the tag, or null

Returns:

a newly allocated string which matches one of the previously set regular expressions