qregularexpression Questions

2

Solved

I am getting this warning in Qt Creator: Don't create temporary QRegularExpression objects. Use a static QRegularExpression object instead [clazy-use-static-qregularexpression] And it's regarding...
Octoroon asked 31/1, 2023 at 15:3

2

Solved

I would like to display a file open dialog that filters on a particular pattern, for example *.000 to *.999. QFileDialog::getOpenFileNames allows you to specify discrete filters, such as *.000, *....
Bowers asked 2/2, 2017 at 6:48

1

Solved

I was hoping that QString would allow this: QString myString("School is LameCoolLame and LameRadLame"); myString.replace(QRegularExpression("Lame(.+?)Lame"),"\1"); Leaving "School is Cool and R...
Oriel asked 12/11, 2015 at 10:25

1

Solved

I have a text form: Last Name:SomeName, Day:23 ...etc From Last Name:SomeName, I would like to get Last Name, and separately SomeName. I have tried to use QRegularExpression, QRegularExpres...
Unstrung asked 12/4, 2014 at 16:31
1

© 2022 - 2024 — McMap. All rights reserved.