hugo/tpl/strings
Bjørn Erik Pedersen 4d7af757c9
Add a common regexp cache
```
BenchmarkGetOrCompileRegexp-10    	73959368	        13.71 ns/op	       0 B/op	       0 allocs/op
BenchmarkCompileRegexp-10         	 3143529	       380.1 ns/op	     872 B/op	      10 allocs/op
```
2023-07-27 19:23:12 +02:00
..
init.go tpl: Add hasSuffix alias 2023-03-08 10:18:34 +01:00
regexp.go Add a common regexp cache 2023-07-27 19:23:12 +02:00
regexp_test.go tpl/strings: Add findRESubmatch 2023-01-17 12:14:11 +01:00
strings.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
strings_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
truncate.go strings: fix Truncate behavior for formatted html 2023-03-01 17:59:50 +01:00
truncate_test.go strings: fix Truncate behavior for formatted html 2023-03-01 17:59:50 +01:00