util.Regexp.matches
Tests if a string contains any match of this regular expression.
Syntax
util.Regexp.matches(
  subject STRING
 )
  RETURNS BOOLEAN- subject is the subject to be scanned.
Usage
The matches() method returns TRUE, if the string passed as
parameter matches the current regular expression.
Example
IMPORT util
MAIN
    DEFINE re util.Regexp
    LET re = util.Regexp.compile(`^[ABC]XX$`)
    DISPLAY re.matches("ZZZ")
    DISPLAY re.matches("ZAXXZ")
    DISPLAY re.matches("AXX")
END MAINOutput:
     0
     0
     1