Link Search Menu Expand Document

RegexMatcher.Matches Method

Explanation Matches the entire input string with the regular expression pattern.

If the match is successful, you can use the Start, End, Group methods to get more information.
Call format var b = rm.Matches( )
Return value $TRUE if the entire input string and the regular expression pattern match exactly, $FALSE if not
Arguments None
Exception None
Example of use
var m = RegexPattern.Compile("Biz/([a-zA-Z]+)").Matcher("Biz/Browser");
if (m.Matches()) {
    print(m.Start(1), m.End(1), m.Group(1), "\n");
}
    
Related item Start, End, Group methods