See here for regular expression syntax in Qt: http://qt-project.org/doc/qt-4.8/qregexp.html

The key here is the "negative look-ahead"...

Also, I could just add a switch to negate the pattern match, regardless of the pattern syntax (so include what's matched / not matched).

I'll get back to this soon.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]