1Parse.regex(3kaya) Kaya module reference Parse.regex(3kaya)
2
3
4
6 Parse::regex - Parse for a regular expression.
7
9 String regex( String regexp, var ParseState st )
10
12 regexp The regular expression to match against. A ^ at the start of the
13 expression is implied.
14
15 st The current parsing state
16
18 This function parses for the specified regular expression at the start
19 of the String, returning the match if one is found, and throwing an
20 Exception otherwise.
21
23 Kaya standard library by Edwin Brady, Chris Morris and others
24 (kaya@kayalang.org). For further information see http://kayalang.org/
25
27 The Kaya standard library is free software; you can redistribute it
28 and/or modify it under the terms of the GNU Lesser General Public
29 License (version 2.1 or any later version) as published by the Free
30 Software Foundation.
31
32
33
34Kaya December 2010 Parse.regex(3kaya)