lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

search/replace (was Re: "Octave" script in Frescobaldi)


From: Wilbert Berendsen
Subject: search/replace (was Re: "Octave" script in Frescobaldi)
Date: Wed, 30 Oct 2013 11:20:35 +0100

Op Tue, 22 Oct 2013 03:57:36 -0700 (PDT)
flup2 <address@hidden> schreef:

> Does anyone how to achieve that?

You could use the search replace function, in regexp mode:

search for:

\b([a-z]+)([',]*)(\d*)

replace with:

<\1\2 \1'>\3

Select the music then press "All" in the search/replace bar.

This will match note, octave and duraction in three regexp groups. Then
the \1, \2 and \3 put the matched text back in the replacement string.

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]