Regex.match3kaya
Attempt to match a regular expression.
Usage
Match match( Regex x, String str )
Arguments
x A compiled regular expression
str The String to match
Overview
Attempt to match a compiled regular expression to a string, returning a Regex.Match (3kaya) object.
-
r = compile("s$");
s1 = "sausages";
m1 = match(r,s1); // matches(["s"],"sausage","")
s2 = "a sausage";
m2 = match(r,s2); // noMatch
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.