/^%/b s/^[ ][ ]*// s/[ ][ ]*$// /^$/d s|[ ]*\([][}{/]\)|\1|g s|\([][}{/]\)[ ]*|\1|g