From: John Mandereau Date: Sun, 6 Jan 2008 15:34:43 +0000 (+0100) Subject: Improve makelsr.py verbatim marking X-Git-Tag: release/2.11.38-1~116 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=033735cefc1d7cb31af1a7f73efea560ebd2c095;p=lilypond.git Improve makelsr.py verbatim marking --- diff --git a/buildscripts/makelsr.py b/buildscripts/makelsr.py index 7d8120a1ea..366653cfeb 100755 --- a/buildscripts/makelsr.py +++ b/buildscripts/makelsr.py @@ -51,7 +51,7 @@ unconverted = [] notags_files = [] # mark the section that will be printed verbatim by lilypond-book -end_header_re = re.compile ('(\\header {.*?}\n)\n', re.M | re.S) +end_header_re = re.compile ('(\\header {.*?"\\s*}\n)\n', re.M | re.S) def mark_verbatim_section (ly_code): return end_header_re.sub ('\\1% begin verbatim\n', ly_code)