From 00543b4e876cf069d5be22c1f06427a4c8d5bed9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 4 Sep 2024 21:02:37 -0400 Subject: Add Text.map(pat, fn) --- test/text.tm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/text.tm') diff --git a/test/text.tm b/test/text.tm index af03c3c7..74a53413 100644 --- a/test/text.tm +++ b/test/text.tm @@ -250,3 +250,6 @@ func main(): = no >> "Hello...":matches($/{id}/) = no + + >> "hello world":map($/world/, Text.upper) + = "hello WORLD" -- cgit v1.2.3