::match and ::doMatch => const

Authored by cullmann on Sep 1 2018, 7:42 PM.

Description

::match and ::doMatch => const

Summary:
make ::match and ::doMatch const
ATM the keyword list is still mutable (internal it uses mutable, too)

for isDynamic, we just construct a new regex if needed
that is nicer than working on the stored one

Test Plan: make && make test

Reviewers: vkrause, dhaumann

Reviewed By: vkrause

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D15211

Details

Committed
cullmannSep 2 2018, 8:11 AM
Reviewer
vkrause
Differential Revision
D15211: ::match and ::doMatch => const
Parents
R216:6e3ebeb7a0cf: deterministic iteration of tests for better result comparison
Branches
Unknown
Tags
Unknown