On Wed, Apr 29, 2009 at 09:54:09PM +0800, Graham Percival wrote:
> Is it worth defining our own function
>   replaceOnly("\\octave", ...)
> which does
>   re.sub("\\octave[?a-z,A-Z]", ...)
> or whatever the regex was?

\\octave\b would work fine. \b matches a word Boundary.

-- 
It's so hard to see the Sun with the truth in your eyes.
http://surreal.istic.org/           “Beast that can talk,” read the sign

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to