From 8fb94fa4aee1f2e05080fc2cbb7fe346d32e3740 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Fri, 21 Apr 2017 13:01:19 -0500 Subject: [PATCH] Add note on Golang regexp library to findRE and replaceRE funcs --- content/functions/findRe.md | 4 ++++ content/functions/replacere.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/content/functions/findRe.md b/content/functions/findRe.md index 5d58d5ad0..3eca2dcf7 100644 --- a/content/functions/findRe.md +++ b/content/functions/findRe.md @@ -33,6 +33,10 @@ 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). +{{% /note %}} +