[Interest] QRegularExpression for replace
Scott Bloom
scott at towel42.com
Thu Dec 1 20:43:39 CET 2022
Im looking for a way using QRE to do something like the following
auto regEx = QRegularExpression( "(?<name>.*)" );
if ( regEx.match( string ) )
auto newString = regEx.replace( string, "${name}" );
Using the standard set of regex subsitutions
Is this something anyone is looking at? Or is there a solution outthere?
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221201/c2dc40c9/attachment.htm>
More information about the Interest
mailing list