From f868d02b08688c04509d1abda5af89a182033d88 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 21 Nov 2024 13:00:53 -0500 Subject: Add `NULL` as a syntax for null values. --- docs/text.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/text.md') diff --git a/docs/text.md b/docs/text.md index 7557f05c..d433e902 100644 --- a/docs/text.md +++ b/docs/text.md @@ -693,13 +693,13 @@ containing information about the match. **Example:** ```tomo >> " #one #two #three ":find($/#{id}/, start=-999) -= !Match += NULL : Match? >> " #one #two #three ":find($/#{id}/, start=999) -= !Match += NULL : Match? >> " #one #two #three ":find($/#{id}/) -= Match(text="#one", index=2, captures=["one"])? += Match(text="#one", index=2, captures=["one"]) : Match? >> " #one #two #three ":find("{id}", start=6) -= Match(text="#two", index=9, captures=["two"])? += Match(text="#two", index=9, captures=["two"]) : Match? ``` --- @@ -885,10 +885,10 @@ or a null value otherwise. **Example:** ```tomo >> "hello world":matches($/{id}/) -= ![Text] += NULL : [Text]? >> "hello world":matches($/{id} {id}/) -= ["hello", "world"]? += ["hello", "world"] : [Text]? ``` --- -- cgit v1.2.3