Mark
2011-10-10 09:52:37 UTC
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
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.
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
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
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.
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