Ehm s/[^(]*(\([^)]*\)).*/'\1'/ are two "commands". One for searching and one for replacing. For Qt you have to split them. QRegExp expects the search part. And also note that they are not 100% Perl compatible, but that is all in the docs... (Qt5 supports 100% Perl compatible expressions, if you want to use the newly published Alpha release.)
Bookmarks