in reply to S/// for Switch-case-default to if-if else-else conversion

An easy way out is to not explicitly handle nesting, but do a 1 while s/.../.../ loop till all the levels are dealt with.