Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.2
-
None
Description
The regular expression lookbehind assertion IS fixed length, yet QRegularExpression fails, claiming it is not fixed.
QRegularExpression tr = QRegularExpression("(?<=face=\"Times\" color=\"green\"><i>\()(.*?)(?=\)<\/i><\/font><\/td><\/tr>)"); qWarning() << tr.isValid() << tr.patternErrorOffset() << tr.errorString(); // false 0 "lookbehind assertion is not fixed length"