diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-12-02 09:19:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-12-02 09:19:23 +0100 |
commit | ef518485cec947464509d290e6edb237c833c379 (patch) | |
tree | 32761983e311e4c3f8498d7dc385449ae627b386 /docs/content/en/functions/replacere.md | |
parent | 83080df61104089789272b429d00fa1e2d658598 (diff) | |
parent | da16527896d3087585c5e758083ea498dcabc2c3 (diff) |
Merge commit 'da16527896d3087585c5e758083ea498dcabc2c3'
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. |