Search for patterns.
[String] grep( String patt, [String] xs, Bool inverse=false )
patt The pattern string
xs The strings to match
inverse If this is set to true, return only strings not matching the pattern. This parameter is optional and defaults to false.
Searches for patterns and returns the entries in xs which match the given pattern.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). 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.match (3kaya)