From f908205df8d30f417e752e1d8c0dbb3c3fa6c85e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 2 Apr 2025 01:48:29 -0400 Subject: [PATCH] Update example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 000013e..8654078 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ the language design decisions of the future. ``` func greeting(name:Text, add_exclamation:Bool -> Text): message := "hello $name" - message = " ":join([w:title() for w in message:split($/{space}/)]) + message = " ":join([w:title() for w in message:split_any(" ")]) if add_exclamation: message ++= "!!!" return message