How can I form a regular expression in Qt so that I can match it against a string?
How can I form a regular expression in Qt so that I can match it against a string?
Start by reading the documentation for the QRegularExpression / QRegExp classes. QRegularExpression is preferred since it conforms more closely to the Perl regular expression syntax. Tutorial here.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks