Terminal.matchCheck

Checks if the text in and around the specified position matches any of the regular expressions previously set using Terminal.matchAdd. 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 Terminal.matchAdd, then expressions are checked in the order in which they were added.

More...
class Terminal
string
matchCheck
(
glong column
,
glong row
,
out int tag
)

Parameters

column glong

the text column

row glong

the text row

tag int

a location to store the tag, or NULL

Return Value

Type: string

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

Detailed Description

Deprecated: Use Terminal.matchCheckEvent instead.