From c2a5952f4fbce8c6376925cd9b5f2c9237473fee Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Sun, 30 Apr 2017 17:19:29 -0500 Subject: [PATCH] Add regex101.com reference to both RE functions Ref rdwatters/hugo-docs-concept#97 --- content/functions/findRe.md | 2 ++ content/functions/replacere.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/content/functions/findRe.md b/content/functions/findRe.md index 3eca2dcf7..d191ca2b9 100644 --- a/content/functions/findRe.md +++ b/content/functions/findRe.md @@ -35,6 +35,8 @@ You can limit the number of matches in the list with a third parameter. The foll {{% 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). + +If you are just learning RegEx, or at least Golang's flavor, you can practice pattern matching in the browser at . {{% /note %}} diff --git a/content/functions/replacere.md b/content/functions/replacere.md index 0ea52da05..6e566af0f 100644 --- a/content/functions/replacere.md +++ b/content/functions/replacere.md @@ -26,4 +26,6 @@ Replaces all occurrences of a regular expression with the replacement pattern. {{% 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). + +If you are just learning RegEx, or at least Golang's flavor, you can practice pattern matching in the browser at . {{% /note %}}