lilypond-devel
[Top][All Lists]
Advanced

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

Re: pygment regex question,Re: pygment regex question


From: Jean Abou Samra
Subject: Re: pygment regex question,Re: pygment regex question
Date: Fri, 25 Nov 2022 18:04:39 +0100


> Le 25 nov. 2022 à 17:54, Werner LEMBERG <wl@gnu.org> a écrit :
> 
> 
>> 
>>> Note that at the time this regex is active, numbers are taken care
>>> of.
>> 
>> Floats are, integers not.
> 
> OK, but shouldn't this be rather
> 
> ```
> (-?\d+|\\longa|\\breve)\.*
> ```
> 
> then?



Why not. If you want to be even more precise on what you want to match:

-\d+|((\d+|\\breve|\\longa)\.*)






reply via email to

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