On 2015-02-06 4:18 PM, Noeck wrote:
You could also enforce this by now allowing all characters between the @:
e.g. @[-a-zA-Z\\_]*@
Rather than include all characters not "@" it would be better to simply
exclude "@". I.e.:
@[^@]*@
The "^", when it is the first character inside a brace changes the brace
from meaning "anything in this group" to meaning "anything not in this
group". As a result this expression will match an string contained
between to "@" characters which does not itself contain an @ character.
I'm fairly certain this is standard for regular expressions.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user