<percival.music...@gmail.com> wrote in message news:0016e6435382308cfc04925d9...@google.com...
On 2010/10/11 18:18:37, dak wrote:
python/convertrules.py:2992: _ ("\\RemoveEmpty*StaffContext -> \*Staff
\\RemoveEmptyStaves"))
Any particular reason that \*Staff does not get the backslash doubled
as well?

The reason was that I didn't know what \* did -- I'm guessing it has a
special meaning in regex -- so I thought I should leave it alone.

Cheers,
- Graham

http://codereview.appspot.com/2401042/

* has a special meaning in a regex - repeat the preceding class zero or more times - so it has to be escaped with a backslash in a regex.

--
Phil Holmes
Bug Squad




_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to