diff options
author | ewewukek <ewewukek@gmail.com> | 2024-02-23 17:24:41 +0300 |
---|---|---|
committer | ewewukek <ewewukek@gmail.com> | 2024-02-23 17:24:41 +0300 |
commit | 07a3d8dbd5d391d7be813f51bb7c941a5276aee3 (patch) | |
tree | bbd3d1ab35d9dda15f04ba47a76a943ffc1d2902 /src/lintmanager.cpp | |
parent | 00cb0a5770529999191fc4484348fe89196de263 (diff) | |
download | mplint-07a3d8dbd5d391d7be813f51bb7c941a5276aee3.tar.gz mplint-07a3d8dbd5d391d7be813f51bb7c941a5276aee3.tar.bz2 mplint-07a3d8dbd5d391d7be813f51bb7c941a5276aee3.tar.xz mplint-07a3d8dbd5d391d7be813f51bb7c941a5276aee3.zip |
Switch to PCRE2 engine
Diffstat (limited to 'src/lintmanager.cpp')
-rw-r--r-- | src/lintmanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lintmanager.cpp b/src/lintmanager.cpp index 1f1714e..4ad0c6e 100644 --- a/src/lintmanager.cpp +++ b/src/lintmanager.cpp @@ -193,8 +193,7 @@ bool LintManager::isMatchFile(RuleBase *const rule) FOR_EACH (std::set<std::string>::const_iterator, it, masks) { // printf("check regexp: %s\n", (*it).c_str()); - std::regex exp(*it); - if (std::regex_match (mFileName, exp)) + if (isMatch(mFileName, *it)) { // printf("matched\n"); return true; |