タイトル通りのことをやりたい。したがって、以下に示す次の文字列があり、すべての二重改行を見つけられるようにしたい (以下のように間にスペースがある可能性があります):
input = """4. A drawer locli:ing device for locl@.ing ,t
15 tier of draivers, one of which is lock controllecl, comprising
twc, drawer retainina m--mbe , rs loica@ted at the front of th-.
drawer@' oiie acljacept each side of the tier of dra,-wers ar,d
arranged to
overlap the front of the,"""
output = re.finditer('\n[\S+]\n', nameString)?????????????????????
output[0] = "4. A drawer locli:ing device for locl@.ing ,t
15 tier of draivers, one of which is lock controllecl, comprising"
output[1] = "twc, drawer retainina m--mbe , rs loica@ted at the front of th-.
drawer@' oiie acljacept each side of the tier of dra,-wers ar,d
arranged to
overlap the front of the,"