commit 76738347d39d8acb8a590e94e71985001afb7ad4
parent a8e05b1196b27f7b1d651939d5a73d25034c3957
Author: Cameron Moore <moorereason@gmail.com>
Date: Thu, 21 Apr 2016 12:38:40 -0500
docs: Fix findRE typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/content/templates/functions.md b/docs/content/templates/functions.md
@@ -486,7 +486,7 @@ We can limit the number of matches in that list with a third parameter. Let's sa
{{ findRE "<h2.*?>(.|\n)*?</h2>" .Content 1 }}
<!-- returns ["<h2 id="#foo">Foo</h2>"] -->
-`findRe` allows us to build an automatically generated table of contents that could be used for a simple scrollspy:
+`findRE` allows us to build an automatically generated table of contents that could be used for a simple scrollspy:
{{ $headers := findRE "<h2.*?>(.|\n)*?</h2>" .Content }}