aboutsummaryrefslogtreecommitdiff
path: root/docs/strings.md
diff options
context:
space:
mode:
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))`