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

Re: RegExp.Replace


Just now, I was thinking about RegExp again. 
 So I'm going back to the documentation, 
which I've been poring over for the past few days! 
I thought I was dreaming when I saw the example 
that's been keeping us busy these last few days. 
I even wondered, somewhat sheepishly, if I hadn't missed it on Sunday and
Monday. 
And then, I just saw your email saying you'd added the example. 
A brilliant idea that I hadn't dared suggest. 
Thank you, and I'm happy to translate it into French, under your supervision. 

Just so you know! 

 More generally, I think the documentation is very comprehensive, 
but more examples wouldn't hurt a better understanding of Gambas. 
And translating the pages that aren't translated into French 
would obviously also help French speakers. 
I'm willing to participate. 

Sincerely.



Le mardi 02 décembre 2025 à 17:26 +0100, Benoît Minisini a écrit :
> Le 02/12/2025 à 16:59, CD a écrit :
> > Yes, I read the documentation, but when you're tackling a subject
> > you're unfamiliar with, it's easy to get lost.
> > Everything isn't necessarily clear when you're starting a new topic.
> > 
> > strResult = regExpression.Replace(strSource, "\\s+", " ", 
> > regExpression.Greedy)
> > Indeed, it works like that.
> > 
> > Thank you for your help.
> >   Sincerely
> > 
> > 
> 
> I asked if you have read the doc just to know if the documentation is 
> clear enough.
> 
> Apparently not, as the problem is explicitly stated, so I added your 
> code as examples for more clarity.
> 
> Regards,
> 


References:
RegExp.ReplaceCD <dessere.claude@xxxxxx>
Re: RegExp.ReplaceBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: RegExp.ReplaceCD <dessere.claude@xxxxxx>
Re: RegExp.ReplaceBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>