On Sunday, 4 December 2022 14:51:51 PST Scott Bloom wrote:
> I guess my point is, whatever happened to code less, do more 😊
Nothing. I am saying that the functionality doesn't exist and is expensive to
implement, but meanwhile you can still do what you want and more effectively
than the Qt imple
I guess my point is, whatever happened to code less, do more 😊
-Original Message-
From: Interest On Behalf Of Thiago Macieira
Sent: Sunday, December 4, 2022 9:46 AM
To: interest@qt-project.org
Subject: Re: [Interest] QRegularExpression for replace
On Saturday, 3 December 2022 23:02:24
Den tors 1 dec. 2022 kl 20:44 skrev Scott Bloom :
>
> Im looking for a way using QRE to do something like the following
>
>
>
> auto regEx = QRegularExpression( “(?.*)” );
>
> if ( regEx.match( string ) )
>
> auto newString = regEx.replace( string, “${name}” );
It's a bit hard to k
On Saturday, 3 December 2022 23:02:24 PST Scott Bloom wrote:
> That is basically what I did for the non problematic replacements. The ones
> that not only need the captured text, but also need the rest of the text I
> didn't bother implementing
The point is that you may do it programmatically, in