X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fmusicxml.py;h=0400cce2532de083414c0ebbb3a730cc75e32b75;hb=ad6a4515fb0908ca8e64aede4151004a6efaaaef;hp=db53bc49106fa5217d4cec879849c91737672079;hpb=36b9825a04fd050c1de107b5d68db3c13916fe33;p=lilypond.git diff --git a/python/musicxml.py b/python/musicxml.py index db53bc4910..0400cce253 100644 --- a/python/musicxml.py +++ b/python/musicxml.py @@ -15,7 +15,7 @@ def error (str): def escape_ly_output_string (input_string): return_string = input_string - needs_quotes = not re.match (u"^[a-zA-ZäöüÜÄÖßñ]*$", return_string); + needs_quotes = not re.match (u"^[a-zA-ZäöüÜÄÖß,\.!:ñ]*$", return_string); if needs_quotes: return_string = "\"" + string.replace (return_string, "\"", "\\\"") + "\"" return return_string