findMatch( RegEx, String )

Returns a Binding if a part of the string matches the regex and absent otherwise. Similar to isMatch, but follows the convention that the find prefix denotes the absent-oriented version.

:-) var regex = //hello/;
:-) regex;
There is 1 result
java.util.Pattern@.....
:-) regex.findMatch( "hello" );
There is 1 result
org.millscript.millscript.datatypes.Binding@....
:-) regex.findMatch( "hello there" );
There is 1 result
org.millscript.millscript.datatypes.Binding@....