[Svg] Fix porting error from QRegExp::exactMatch
ClosedPublic

Authored by broulik on Jul 4 2019, 3:59 PM.

Details

Summary

The CACHE_ID_NATURAL_SIZE adds stuff around the argument string, so explicitly move the ^ and $ outside.

Test Plan

Untested, asked @ndavis to check on his machine where the issue shows

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jul 4 2019, 3:59 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJul 4 2019, 3:59 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
broulik requested review of this revision.Jul 4 2019, 3:59 PM
ndavis added a comment.Jul 4 2019, 4:01 PM

I can confirm this fixes the problem here: https://phabricator.kde.org/D22147#490563

apol accepted this revision.Jul 5 2019, 12:07 AM
This revision is now accepted and ready to land.Jul 5 2019, 12:07 AM
This revision was automatically updated to reflect the committed changes.