diff options
Diffstat (limited to 'docs/content/en/functions/replacere.md')
-rw-r--r-- | docs/content/en/functions/replacere.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/en/functions/replacere.md b/docs/content/en/functions/replacere.md index f1e34ba65..cc4eb5dc2 100644 --- a/docs/content/en/functions/replacere.md +++ b/docs/content/en/functions/replacere.md @@ -5,14 +5,14 @@ categories: [functions] menu: docs: parent: functions -keywords: [regex] +keywords: [replace regex] signature: - "replaceRE PATTERN REPLACEMENT INPUT [LIMIT]" - "strings.ReplaceRE PATTERN REPLACEMENT INPUT [LIMIT]" -relatedfuncs: [findRE] +relatedfuncs: [replace,findRE] aliases: [] --- -By default, the `replaceRE` function replaces all matches. You can limit the number of matches with an optional LIMIT paramater. +By default, the `replaceRE` function replaces all matches. You can limit the number of matches with an optional LIMIT parameter. When specifying the regular expression, use a raw [string literal] (backticks) instead of an interpreted string literal (double quotes) to simplify the syntax. With an interpreted string literal you must escape backslashes. |