QString::lastNIdexOf( QRegularExpression)
Posted: Sun Dec 13 2020 7:57 pm
All,
Stumbled into this today. Qt 4.8 had
In porting some code I believed the method existed in CopperSpice but now used QRegularExpression. The compiler quickly proved that wrong. The doc appears to confirm the compiler as well.
We have it going forward, just not backwards. Was this a conscious decision?
Stumbled into this today. Qt 4.8 had
Code: Select all
int lastIndexOf(const QRegExp & rx, int from = -1) const
int lastIndexOf(QRegExp & rx, int from = -1) const
Code: Select all
size_type indexOf (const QRegularExpression8 ®Exp, size_type from=0) const
const_iterator indexOfFast (const QRegularExpression8 ®Exp) const
const_iterator indexOfFast (const QRegularExpression8 ®Exp, const_iterator from) const
We have it going forward, just not backwards. Was this a conscious decision?