{{- /* Fraction */ -}} {{- /* [A]/[B] -> A/B */ -}} {{- $REin := `\[(.+?)\]/\[(.+?)\]` -}} {{- $REout := `$1/$2` -}} {{- return replaceRE $REin $REout . -}}