[Development] QTBUG-23489: Implement the new regular expression classes using PCRE

Thiago Macieira thiago at kde.org
Thu Feb 23 15:13:02 CET 2012


On quinta-feira, 23 de fevereiro de 2012 13.25.30, Shaw Andy wrote:
> >The uses of QRegExp in qtbase and my proposals would be:
> > - qmake: lots of use, keep it by copying qregexp.cpp into qmake
> 
> Since I understand that the code would still be available in a separate
> library anyway, then there is no need to copy the file, qmake pulls in the
> files it needs directly from the current location so it could just
> continue to do the same without having to copy the qregexp.cpp
> specifically.

I think my typing didn't follow the speed of my thoughts. So let me elaborate 
a bit:

Step 1: qregexp in QtCore, where it is today
We do the cleanups of the APIs as I suggested

Step 2: qregexp.cpp moves to a separate lib, still inside qtbase
We verify the non-qtbase modules that require QRegExp and we decide whether 
they'll use QRegExp or they'll move to PCRE. One example of not moving is 
QtScript.

Step 3: qregexp.cpp moves out of qtbase
We need to keep a copy inside qmake

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120223/dc492942/attachment.sig>


More information about the Development mailing list