mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 20:17:17 +00:00
Add regex101.com reference to both RE functions
Ref rdwatters/hugo-docs-concept#97
This commit is contained in:
1 parent
71471f13ce
commit
c2a5952f4f
2 files changed
+4
No files matched your search
@@ -35,6 +35,8 @@ You can limit the number of matches in the list with a third parameter. The foll
|
|||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
Hugo uses Golang's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
|
Hugo uses Golang's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
|
||||||
|
|
||||||
|
If you are just learning RegEx, or at least Golang's flavor, you can practice pattern matching in the browser at <https://regex101.com/>.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
<!-- Removed per request of @bep: https://github.com/spf13/hugo/issues/3188 -->
|
<!-- Removed per request of @bep: https://github.com/spf13/hugo/issues/3188 -->
|
||||||
|
|||||||
@@ -26,4 +26,6 @@ Replaces all occurrences of a regular expression with the replacement pattern.
|
|||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
Hugo uses Golang's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
|
Hugo uses Golang's [Regular Expression package](https://golang.org/pkg/regexp/), which is the same general syntax used by Perl, Python, and other languages but with a few minor differences for those coming from a background in PCRE. For a full syntax listing, see the [GitHub wiki for re2](https://github.com/google/re2/wiki/Syntax).
|
||||||
|
|
||||||
|
If you are just learning RegEx, or at least Golang's flavor, you can practice pattern matching in the browser at <https://regex101.com/>.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
Reference in new issue
Block a user