[Qt-interest] RegExp If-Statements

Joshua Grauman jnfo-c at grauman.com
Mon May 9 20:18:24 CEST 2011


Actually, I've been looking around and it seems that ICU4C may be a good 
fit here. It has a very permissive license, is in C++, handles Unicode 
(Utf-16 natively), and supports more features than QRegExp 
(http://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines). I 
remember hearing (on this list?) that if a better engine was found, the 
one used in QRegExp could be switched out... Any chance this could happen?

http://userguide.icu-project.org/strings/regexp

Josh

> I just confirmed that this isn't supported. Any chance that the QRegExp class 
> could become more full featured? It's also missing greedy modifiers ie. ".*" 
> vs ".*?" which is a big one for me... Are there any more fully featured LGPL 
> RegExp engines that support Unicode out there?
>
> Josh
>
>> Em Monday, 9 de May de 2011, às 14:33:20, Carel Combrink escreveu:
>>> Hi,
>>> 
>>> Does the QRegExp Class support If-Then-Else Conditionals in Regular
>>> Expressions?
>> 
>> No, I don't think so.
>


More information about the Qt-interest-old mailing list