diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-04-22 19:23:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 19:23:54 (GMT) |
commit | 3995f8b527f4d6461886fd73dfae6b7262b0819f (patch) | |
tree | e4418c2393f6fe9cf57b6ed112570e7786d8febe /src | |
parent | 592aaa4f17d73ec8c475df0f44efaea8cc4d575c (diff) | |
parent | 7fce2a70fac2d52079572f60342094d44331af78 (diff) | |
download | Doxygen-3995f8b527f4d6461886fd73dfae6b7262b0819f.zip Doxygen-3995f8b527f4d6461886fd73dfae6b7262b0819f.tar.gz Doxygen-3995f8b527f4d6461886fd73dfae6b7262b0819f.tar.bz2 |
Merge pull request #8514 from albert-github/feature/bug_aliases_regex
No warning for incorrect ALIASES
Diffstat (limited to 'src')
-rw-r--r-- | src/configimpl.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configimpl.l b/src/configimpl.l index baf6480..5171dd6 100644 --- a/src/configimpl.l +++ b/src/configimpl.l @@ -1625,8 +1625,8 @@ void Config::checkAndCorrect() for (const auto &alias : aliasList) { // match aliases of the form re1='name=' and re2='name{2} =' - static const reg::Ex re1(R"(\a\w*\s*=)"); - static const reg::Ex re2(R"(\a\w*{\d+}\s*=)"); + static const reg::Ex re1(R"(^\a\w*\s*=)"); + static const reg::Ex re2(R"(^\a\w*{\d+}\s*=)"); if (!reg::search(alias,re1) && !reg::search(alias,re2)) { err("Illegal ALIASES format '%s'. Use \"name=value\" or \"name{n}=value\", where n is the number of arguments\n", |