diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-21 13:00:53 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-21 13:00:53 -0500 |
| commit | f868d02b08688c04509d1abda5af89a182033d88 (patch) | |
| tree | af64c48127e0edfebb348edabbccbcc402d2070b /docs/text.md | |
| parent | 90573ba7a15bb47a11c1eb6f69ed04c01b69724d (diff) | |
Add `NULL` as a syntax for null values.
Diffstat (limited to 'docs/text.md')
| -rw-r--r-- | docs/text.md | 12 |
1 files changed, 6 insertions, 6 deletions
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]? ``` --- |
