I tend to agree with Matthias. At this point I'm making use of QRegExp
all over my software and it's doing just fine by me. This whole
conversation was actually a bit of a surprise to me. I would not enjoy
converting all my regular expressions from Perl to Javascript syntax.
If any change does occur it seems to make sense to use C++11 or std::.
Increasing the size of QtCore isn't attractive either.

-Will

On Wed, Sep 7, 2011 at 4:57 AM,  <[email protected]> wrote:
> 1. It is impossible to do big changes to QRegExp without breaking existing 
> code. Please keep the compatibility goals of Qt5 in mind. Remember that we 
> want to MINIMIZE breakage and not repeat Qt3 to Qt4.
> 2. While it might be interesting to write yet-another regular expression 
> engine, there seem to be more exciting projects around, given that the 
> problem has been solved a couple of times already.
>
> So why not keep QRegExp as it is? Benefit: no breakage, and existing use 
> cases work OK. If we think that using javascript or boost is not sufficient 
> for new code, and we need to wrap an existing engine with a Qt-style API, we 
> can do that as a separate module. If that turns out OK and is accepted, we 
> can then consider  to merge whatever new regexp class we come up with QRegExp 
> for Qt 6.
>
> But do we *really* need that? In the longer run, wouldn't it be better to 
> merge the other C++ efforts with Qt? Instead of yet another generation of Qt 
> tools, why not make Qt more friendly towards std::?
>
> Matthias
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of ext Thiago Macieira
> Sent: Dienstag, 6. September 2011 20:03
> To: [email protected]
> Subject: Re: [Qt5-feedback] QRegExp in Qt 5 (was: V8 import to QtBase)
>
> On Tuesday, 6 de September de 2011 18:43:25 Olivier Goffart wrote:
>> There is also the std::regex in C++11, which should work with QString
>> and QByteArray.
>> http://en.wikipedia.org/wiki/C++11#Regular_expressions
>
> Then I think we should support the same syntax, regardless of the engine, if 
> possible.
>
> --
> 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
> _______________________________________________
> Qt5-feedback mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
>
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to