From 519e8a7b4c41debf7c0a9ef0ea4ebdc09995451a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 3 May 2023 11:42:44 +0200 Subject: Refactor string replacement --- docs/src/reference/types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md index 9448feed..d6218029 100644 --- a/docs/src/reference/types.md +++ b/docs/src/reference/types.md @@ -362,7 +362,7 @@ string and returns the resulting string. - pattern: string or regex (positional, required) The pattern to search for. - replacement: string or function (positional, required) - The string to replace the matches with or a function that is passed a match dictionary if a regex was used. + The string to replace the matches with or a function that gets a dictionary for each match and can return individual replacement strings. - count: integer (named) If given, only the first `count` matches of the pattern are placed. - returns: string -- cgit v1.2.3