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 tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
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 Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00
truncate_test.go Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00