[Sage Backend] Port QRegExp to QRegularExpression

Authored by ahmadsamir on Feb 19 2020, 8:00 PM.

Description

[Sage Backend] Port QRegExp to QRegularExpression

To match a backspace char with PCRE/QRegularExpression we have to use
\b inside [].

Use QStringLiteral with QRegularExpression ctor, as it doesn't have a
QLatin1String overload and will convert the to QString anyway.

All unittests pass except for:

  • testlua (unrelated, fails on master too)
  • testworksheet (hangs, here and on master too)
  • testsage, fails to pass here and on master

Details

Committed
sirgienkoFeb 19 2020, 8:00 PM
Parents
R55:307ed22722b3: Merge branch 'l-scilab' into 'master'
Branches
Unknown
Tags
Unknown