Il 11/02/2012 13:58, Federico Bruni ha scritto:
I want to avoid using a list: that's the main purpose of my question :)
I said it explicitly:
 >> How can I achieve that in a smart way (i.e. without using a list of all
 >> the \strings which can occur inside a \markup{} block)?

another option is using a backreference, but the following doesn't work:

markup_command = '(?<=\\markup\s\{)\\[[:alpha:]-]+'

also, it has a minor weakness: some people write \markup{ ... } instead of \markup { ... }

_______________________________________________
Help-source-highlight mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-source-highlight

Reply via email to