static Pair splitSquareBracketStuff(S s) { ret pair(leadingSquareBracketStuff(s), dropLeadingSquareBracketStuff(s)); }