diff options
Diffstat (limited to 'test/text.tm')
| -rw-r--r-- | test/text.tm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm index e3848a08..af03c3c7 100644 --- a/test/text.tm +++ b/test/text.tm @@ -242,3 +242,11 @@ func main(): >> " BAD(x, fn(y), BAD(z), w) ":replace($/BAD(?)/, "good(\1)", recursive=no) = " good(x, fn(y), BAD(z), w) " + >> "Hello":matches($/{id}/) + = yes + >> "Hello":matches($/{lower}/) + = no + >> "Hello":matches($/{upper}/) + = no + >> "Hello...":matches($/{id}/) + = no |
