--- scripts/lilypond-book.py +++ scripts/lilypond-book.py @@ -487,7 +487,7 @@ 'lilypond-file': '(?m)^(address@hidden)(?P@lilypondfile(\[(?P.*?)\])?{(?P[^}]+)})', 'lilypond' : '(?m)^(address@hidden)(?P@lilypond(\[(?P.*?)\])?{(?P.*?)})', # pyton2.2b2 barfs on this - 'lilypond-block': r"""(?m)^(address@hidden)(?P(?s)(?P@lilypond(\[(?P.*?)\])?\s(?P.*?)@end lilypond\s))""", + 'lilypond-block': r"""(?m)^(address@hidden)(?P(?s)(?P@lilypond(\[(?P.*?)\])?\s(?P.*?)@end lilypond\s))""", # 1.5.2 barfs on this. # 'lilypond-block': r"""(?m)^(address@hidden)(?P@lilypond(\[(?P.*?)\])?\s(?P.*?)@end lilypond\s)""",