1Regex.grep(3kaya) Kaya module reference Regex.grep(3kaya)
2
3
4
6 Regex::grep - Search for patterns.
7
9 [String] grep( String patt, [String] xs, Bool inverse=false )
10
12 patt The pattern string
13
14 xs The strings to match
15
16 inverse If this is set to true, return only strings not matching the
17 pattern. This parameter is optional and defaults to false.
18
20 Searches for patterns and returns the entries in xs which match the
21 given pattern.
22
24 Kaya standard library by Edwin Brady, Chris Morris and others
25 (kaya@kayalang.org). For further information see http://kayalang.org/
26
28 The Kaya standard library is free software; you can redistribute it
29 and/or modify it under the terms of the GNU Lesser General Public
30 License (version 2.1 or any later version) as published by the Free
31 Software Foundation.
32
34 Regex.match (3kaya)
35
36
37
38Kaya December 2010 Regex.grep(3kaya)