I want to define a regular expression containing angular brackets <> such that whatever I write in these brackets gets some pattern.. e.g QRegExp rx; rx.setForeground("orange");.. Can anyone help me with how to define such a regular expression?
I want to define a regular expression containing angular brackets <> such that whatever I write in these brackets gets some pattern.. e.g QRegExp rx; rx.setForeground("orange");.. Can anyone help me with how to define such a regular expression?
Can you give some examples ?define a regular expression containing angular brackets <> such that whatever I write in these brackets gets some pattern
I failed to find "setForeground" method in QRegExp class What does it mean for regular expression to have an orange foreground ?QRegExp rx; rx.setForeground("orange");
I was able to implement the angular brackets as QRegExp("<.*>");.. sorry i incorrectly mentioned about foreground, i have used it as rx.setForeground(QColor("orange"));.... It worked.. Thank You very much...
Bookmarks