Ah ok. The regex is a part of a bigger one so I have to split it further.
My company is thinking about upgrading to Qt5 so this is a good reason to do it now.
Thanks a lot Lykurg.
Ah ok. The regex is a part of a bigger one so I have to split it further.
My company is thinking about upgrading to Qt5 so this is a good reason to do it now.
Thanks a lot Lykurg.
Upgrading a commercial development project to alpha software is probably not the best idea. Nothing in your requirement needs the Perl regex compatibility changes AFAICT.
Also, be careful to escape backslashes in the string literals.
I don't have the URL's right now, but there was a test that the QRegExp class is really slow. That was also the reason for changing this class in Qt5. So even if you do not need the additional syntax a change to Qt5 (when ready) can pay off, if your application heavily rely on regular expressions.
EDIT: That was not the URL I was thinking of but anyway: http://qt-project.org/wiki/Regexp_engine_in_Qt5
Last edited by Lykurg; 5th April 2012 at 07:23.
Bookmarks