diff options
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/reference/types.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md index 0714d1f7..9448feed 100644 --- a/docs/src/reference/types.md +++ b/docs/src/reference/types.md @@ -361,8 +361,8 @@ string and returns the resulting string. - pattern: string or regex (positional, required) The pattern to search for. -- replacement: string (positional, required) - The string to replace the matches with. +- 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. - count: integer (named) If given, only the first `count` matches of the pattern are placed. - returns: string |
