diff options
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; |