[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pygment regex question
From: |
Werner LEMBERG |
Subject: |
Re: pygment regex question |
Date: |
Fri, 25 Nov 2022 18:32:07 +0000 (UTC) |
>> The thing is that the regular expressions match both LilyPond and
>> Scheme syntax.
>
> Uh? No they don’t, look at SchemeLexer and its horrendous regexes to
> parse numbers (also written by yours truly).
Thanks for the correction; this makes adjusting the regular
expressions simpler :-)
> However,
>
> \musicFunction 4
>
> could be an integer or a duration, and
>
> \musicFunction -4
>
> could be an integer or a fingering, depending on how musicFunction
> is defined, [...]
Thanks, I didn't think of music functions.
Werner
- Re: pygment regex question,Re: pygment regex question, (continued)
Re: pygment regex question, Luca Fascione, 2022/11/25
Re: pygment regex question, Jean Abou Samra, 2022/11/25
Re: pygment regex question,
Werner LEMBERG <=
Re: pygment regex question, Werner LEMBERG, 2022/11/26
Re: pygment regex question, Lukas-Fabian Moser, 2022/11/26
Re: pygment regex question, Jean Abou Samra, 2022/11/26
Re: pygment regex question,Re: pygment regex question, Werner LEMBERG, 2022/11/26
Re: pygment regex question,Re: pygment regex question, Jean Abou Samra, 2022/11/26
Re: pygment regex question, David Kastrup, 2022/11/26
Re: pygment regex question, Lukas-Fabian Moser, 2022/11/26
Re: pygment regex question, David Kastrup, 2022/11/26
Color variables/symbols (was: pygment regex question), Lukas-Fabian Moser, 2022/11/26
Re: Color variables/symbols, Werner LEMBERG, 2022/11/26