diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/text.tm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm index cf084f8a..0dd5f2ec 100644 --- a/test/text.tm +++ b/test/text.tm @@ -155,3 +155,21 @@ func main(): >> "":split() = [] + + >> " one two three ":find_all("[..alpha]") + = ["one", "two", "three"] + + >> " one two three ":find_all("[..!space]") + = ["one", "two", "three"] + + >> " ":find_all("[..alpha]") + = [] + + >> " foo(baz(), 1) doop() ":find_all("[..id](?)") + = ["foo(baz(), 1)", "doop()"] + + >> "":find_all("") + = [] + + >> "Hello":find_all("") + = [] |
