lilypond-user
[Top][All Lists]
Advanced

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

Re: Regexp Functions


From: Jacques Menu
Subject: Re: Regexp Functions
Date: Tue, 9 Jun 2020 12:51:17 +0200

Hello Freeman,

> Le 9 juin 2020 à 09:43, Freeman Gilmore <freeman.gilmore@gmail.com> a écrit :
> 
> On Tue, Jun 9, 2020 at 1:25 AM Michael Gerdau <mgd@qata.de> wrote:
>> 
>> Hi!
>> 
>> I find your description difficult to understand. Maybe you could provide an 
>> set of examples showing exactly what you wish to be modified into what.
> Sorry, that is the problem I have when someone asks about what i am
> doing or trying to do.   For me I find it best to just ask what I want
> to know.  Arron  as well as some others answer my question when I do
> not include these kinds of detail they do add confusion.   Arron on my
> initial post did not understand what I was asking eathere.
> 
> So I will try again.    Say you have "Xsdfghjkl"     If "x" is the first
> character  then replace the "g" if it exist with "Y"   =>  "XsdYfhjkl"X
> 
>> Apart from that your problem sounds as if it is trivial when using non 
>> greedy regular expressions.
> 
> I do not know what this means:  non greedy regular expressions?

Greedy relates to how many characters are consumed by regular expressions when 
a match if found. 

You may need to learn more deeply about these to reach your goal.

JM





reply via email to

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