9 // Match, but the transformation is not sound w.r.t. possible side effects.
10 println(strings.Repeat("*", 3))
12 // No match, since second use of wildcard doesn't match first.
13 println(strings.Repeat("*", 3)[:len(strings.Repeat("*", 2))])
15 // Recursive match demonstrating bottom-up rewrite:
16 // only after the inner replacement occurs does the outer syntax match.