Take the following regular expression:
(?<=(<|<)ref)
This will fail the QRegularExpression::isValid();
and QRegularExpression::errorString();
will output
lookbehind assertion is not fixed length
Now apparently not all Regular Expression engines have this limitation, but apparently this one does.
Perhaps there is a Regex oriented workaround for this? And if not, what is the optimal and cleanest strategy in achieving this functionality with the Qt framework?