On 10 October 2011 11:52, Mark <[email protected]> wrote:
> Hi,
> Some time ago I've read something here about replacing Qt't QRegExp backend
> with a existing library to get rid of the maintenance burden.
> I can't find the discussion anymore but i thought i'd post this quite handy
> link that compares a dozen regular expression libraries.
> http://lh3lh3.users.sourceforge.net/reb.shtml

Good catch!

> Note how extremely fast egrep is!
> As for the syntax. In my opinion it should stay the same as the current
> QRegExp thus the perl syntax.

The problem is that QRegExp support is not even close to Perl regexps...

> My guess is that RE2 should be used since V8(?) also uses it and has the
> perl syntax and thus should already be in Qt somewhere since V8 is there.
> Good luck,
> Mark

RE2 does not support positive/negative lookahead/lookbehind, which was
one of the issues to be solved by any proposed engine in Qt5. Even
QRegExp right now supports lookaheads...

BTW, I started to investigate some implementations and wrote some
notes down in my spare time on this wiki page:
http://developer.qt.nokia.com/wiki/Regexp_engine_in_Qt5
Any help is appreciated.
-- 
Giuseppe D'Angelo
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to