ref: 76738347d39d8acb8a590e94e71985001afb7ad4
parent: a8e05b1196b27f7b1d651939d5a73d25034c3957
author: Cameron Moore <[email protected]>
date: Thu Apr 21 08:38:40 EDT 2016
docs: Fix findRE typo
--- a/docs/content/templates/functions.md
+++ b/docs/content/templates/functions.md
@@ -486,7 +486,7 @@
{{ 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 }}