diff --git a/content/templates/functions.md b/content/templates/functions.md
index 7cb749d05..9d1981e80 100644
--- a/content/templates/functions.md
+++ b/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 "
(.|\n)*?" .Content 1 }}
-`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 "(.|\n)*?" .Content }}