Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
One QRegExp to negate them all, possible?
i92guboj last edited by
I have many QRegExp's I use to "fill-in" several QSortFilterProxyModels, which in turn separate elements from a given QSqlTableModel in a convenient way.
One of the proxy models will display the elements that don't fit in any of the other categories (in other words, the elements that don't match any of the QRegExp's).
I am wondering if there's any straight way to fill in that proxy, without resorting to writing an "epic-size" QRegExp which negates the rest of them.
Something like !(rx0||rx1||....||rxN). :lol:
I've been looking the QRegExp reference info, but can't seem to find anything that's relevant.
Thanks for any suggestion :)