Fixing typos (#1900)

Adding related functions
This commit is contained in:
Andreas Deininger
2022-11-19 18:09:57 +01:00
committed by GitHub
parent 2563eee45e
commit d533f7c9c8
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ signature:
relatedfuncs: [replaceRE]
aliases: []
---
By default, the `findRE` function finds all matches. You can limit the number of matches with an optional LIMIT paramater.
By default, the `findRE` function finds 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.
+1 -1
View File
@@ -12,7 +12,7 @@ keywords: []
signature: ["strings.Replace INPUT OLD NEW [LIMIT]", "replace INPUT OLD NEW [LIMIT]"]
workson: []
hugoversion:
relatedfuncs: []
relatedfuncs: [replaceRE]
deprecated: false
aliases: []
---
+2 -2
View File
@@ -9,10 +9,10 @@ keywords: [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.