Provided by: kaya_0.4.4-6ubuntu3_amd64
Regex::match - Attempt to match a regular expression.
Match match( Regex x, String str )
x A compiled regular expression str The String to match
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
Kaya standard library by Edwin Brady, Chris Morris and others (firstname.lastname@example.org). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
Regex.compile (3kaya) Regex.quickMatch (3kaya) Regex.quickMatch_1 (3kaya)