hugo/tpl/strings
Cameron Moore cdfd1c99ba tpl: Add limit support to replaceRE
Go stdlib doesn't contain a limited replace in the regexp package, but
we can accomplish the same thing with ReplaceAllStringFunc.

Fixes #7586
2020-08-28 18:57:56 +02:00
..
init.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
init_test.go
regexp.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
regexp_test.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
strings.go tpl: Add limit option to replace template function 2020-08-28 08:55:58 +02:00
strings_test.go tpl: Add limit option to replace template function 2020-08-28 08:55:58 +02:00
truncate.go
truncate_test.go