Re: [Interest] QRegularExpression for replace

2022-12-05 Thread Scott Bloom
I have implemented the following replacement patterns in a stand-alone function It supports numbered groups, named groups, $$, and $&. My next step is $` $' $+ and $_ Here is how its used in my code base (from my unit tests) auto pattern = R"(\p{Sc}*\s?(\d+[.,]?\d*)\p{Sc}*)";

Re: [Interest] QT Creator consistency

2022-12-05 Thread Thiago Macieira
On Monday, 5 December 2022 01:23:06 PST Christian Kandeler via Interest wrote: > On 12/5/22 09:52, Yves Maurischat wrote: > > - 'Follow symbol under cursor' for signals in a *.cpp does not jump to the > > header where the signal was declared but to the *.moc files instead > I cannot reproduce

Re: [Interest] QRegularExpression for replace

2022-12-05 Thread Elvis Stansvik
Maybe I'm dumb, but I'm still not sure what is being asked for. If it's regular expression replacement with back-references in the replacement string, I think that's possible with QString::replace like I showed. Elvis ___ Interest mailing list

Re: [Interest] QT Creator consistency

2022-12-05 Thread Yves Maurischat
On 05.12.22 10:23, Christian Kandeler via Interest wrote: > On 12/5/22 09:52, Yves Maurischat wrote: >> - 'Follow symbol under cursor' for signals in a *.cpp does not jump >> to the header where the signal was declared but to the *.moc files >> instead > > I cannot reproduce that. Please file a

Re: [Interest] QT Creator consistency

2022-12-05 Thread Christian Kandeler via Interest
On 12/5/22 09:52, Yves Maurischat wrote: - 'Follow symbol under cursor' for signals in a *.cpp does not jump to the header where the signal was declared but to the *.moc files instead I cannot reproduce that. Please file a bug report with an example project. - 'Refactoring -> Rename Symbol

Re: [Interest] QT Creator consistency

2022-12-05 Thread Yves Maurischat
I also noticed a few things: - 'Follow symbol under cursor' for signals in a *.cpp does not jump to the header where the signal was declared but to the *.moc files instead - 'Refactoring -> Rename Symbol under cursor' does not include headers anymore, instead you have to check them on in the