diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-03 11:42:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-03 11:44:08 +0200 |
| commit | 519e8a7b4c41debf7c0a9ef0ea4ebdc09995451a (patch) | |
| tree | f3d9b937b72ebc55ac63416e41a9723743579bc0 /docs/src/reference | |
| parent | be3c4d7876f11d70eab60b8c3ae6199b7fd035fe (diff) | |
Refactor string replacement
Diffstat (limited to 'docs/src/reference')
| -rw-r--r-- | docs/src/reference/types.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
