[Development] Re : QRegularExpression work

Davet Jacques davetjacques at yahoo.fr
Tue Jan 24 10:10:19 CET 2012


"QRegularExpression" is such long and inconvenient name, even worse with suffix like "QRegularExpressionMatch".

Why not simply use "QRegex"? In addition to shorter, it would also fall in line with "std::regex" and "Boost.Regex".

I realize it may be easier to confuse with the old "QRegExp", but you have to ask yourself, what is more important - minimizing confusion for short-term (Qt 4 -> 5 transition), or having nice and practical name for long-term (Qt 5 lifetime).




More information about the Development mailing list