3 // Test of repeated use of wildcard in pattern.
5 // NB: multiple patterns would be required to handle variants such as
6 // s[:len(s)], s[x:len(s)], etc, since a wildcard can't match nothing at all.
7 // TODO(adonovan): support multiple templates in a single pass.
9 func before(s string) string { return s[:len(s)] }
10 func after(s string) string { return s }