Given a simple js snippet like:
In old Qt versions pre 5.12, doSomeThing(); wasn't called, as the regex doesn't match (as there is no ';' in that prevString).
Now it matches.
Still, the complete "r.length" is 0, but e.g. r.length has the matched leading whitespaces.