X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fauxiliar%2Fmakelsr.py;h=8b4f3a3e320a6aedbbe6df31c581fcfe36c33b00;hb=1e20e10183da39f55335641a5bf8a98693a46816;hp=adf8681638f72781bbb915979403ff47ad613668;hpb=20596e17d6f8026f7199c9ae0e5f03517631a66c;p=lilypond.git diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index adf8681638..8b4f3a3e32 100755 --- a/scripts/auxiliar/makelsr.py +++ b/scripts/auxiliar/makelsr.py @@ -138,7 +138,7 @@ def escape_backslashes_in_header(snippet): # one backreference to group 1 (that's two 2\ ). new_header = re.sub("@code\{\\\\([a-zA-Z])", "@code{\\\\\\\\\\1", header) escaped_snippet = (snippet[:header_char_number_start] + - new_header + snippet[header_char_number_end:]) + new_header + snippet[header_char_number_end:]) return escaped_snippet def copy_ly (srcdir, name, tags):