]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4372: convert-ly misses some bflat -> b-flat
authorDavid Kastrup <dak@gnu.org>
Sun, 10 May 2015 14:03:42 +0000 (16:03 +0200)
committerDavid Kastrup <dak@gnu.org>
Sat, 16 May 2015 08:23:14 +0000 (10:23 +0200)
commit73620b9029d04102a2e98d7dbd55c756b13e5512
tree10503bc9a68fcd3e7e668bd87e9fd6b46c208172
parent7eef6e252aea1c29512a2df501aaa5c832f57038
Issue 4372: convert-ly misses some bflat -> b-flat

In python/convert-rules.py, using '\b' for note name boundaries turns
out to be too audacious since bflat4 is one word.  A proper solution
would be to match the variable wordsyntax and let the match expression
use a replacement function that triggers on the right words.  However,
such a large number of matches would be expensive.  So instead we are
using positive lookahead and lookbehind expressions to get reasonably
good matches.
python/convertrules.py