aboutsummaryrefslogtreecommitdiff
path: root/docs/strings.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-03 18:15:45 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-03 18:15:45 -0500
commit8fab88c56f95c03ffcb4be178f5dbb21b239d95e (patch)
tree3c2e721b8ea55d43b94fa9f315659580652573c5 /docs/strings.md
parent07f0a18136a7883d1f3edd3e08253bd3020294a8 (diff)
Rename Str -> Text
Diffstat (limited to 'docs/strings.md')
-rw-r--r--docs/strings.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/strings.md b/docs/strings.md
index a981be2a..d2e886bf 100644
--- a/docs/strings.md
+++ b/docs/strings.md
@@ -276,7 +276,7 @@ To compare normalized forms of strings, use:
### Patterns
- `string.has($/pattern/, at=Anywhere:enum(Anywhere, Start, End))` Check whether a pattern can be found
-- `string.next($/pattern/)` Returns an `enum(NotFound, Found(match:Str, rest:Str))`
+- `string.next($/pattern/)` Returns an `enum(NotFound, Found(match:Text, rest:Text))`
- `string.matches($/pattern/)` Returns a list of matching strings
- `string.replace($/pattern/, "replacement")` Returns a copy of the string with replacements
- `string.without($/pattern/, at=Anywhere:enum(Anywhere, Start, End))`