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/rules/constructor.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/rules/constructor.cpp')
-rw-r--r-- | src/rules/constructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules/constructor.cpp b/src/rules/constructor.cpp index e1795cb..c8bc8ef 100644 --- a/src/rules/constructor.cpp +++ b/src/rules/constructor.cpp @@ -20,7 +20,7 @@ #include "template.hpp" -registerRuleExt(constructor, "006", "(.+)[.](cpp|h)") +registerRuleExt(constructor, "006", R"( \.(cpp|h)$ )") bool foundConstructor(false); int align = 0; |