Gambas Documentation - /lang/match

# MATCH

Since 3.5

Result = Expression [ NOT ] MATCH Pattern

Returns `TRUE` if the Expression string matches the Pattern Perl-compatible regular expression.

If `NOT` is specified, the test is inverted.

The match is done by using the RegExp.Match method of the gb.pcre component, that is automatically loaded the first time the operator is used.

### See also

- String Operators

- LIKE

- String Functions