summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-22 21:12:58 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-02-22 21:12:58 (GMT)
commit30d347bf8046775d6eab9bd8f70dbf3c3204e7b7 (patch)
treee1787b66788b9ab6ea5e2891b935ac626b96b2cc /src/groupdef.cpp
parentcb34071ca4f1abd9e002c8bb05f08fd56a8798e5 (diff)
downloadDoxygen-30d347bf8046775d6eab9bd8f70dbf3c3204e7b7.zip
Doxygen-30d347bf8046775d6eab9bd8f70dbf3c3204e7b7.tar.gz
Doxygen-30d347bf8046775d6eab9bd8f70dbf3c3204e7b7.tar.bz2
Some performance tweaks + remove setting of global locale
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 3fdb9fb..5a89a4a 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -1090,7 +1090,7 @@ void GroupDefImpl::writeDocumentation(OutputList &ol)
if (Doxygen::searchIndex)
{
Doxygen::searchIndex->setCurrentDoc(this,anchor(),FALSE);
- static std::regex we("[[:alpha:]_][[:alnum:]_\\-]*");
+ static const std::regex we("[[:alpha:]\\x80-\\xFF_][[:alnum:]\\x80-\\xFF_\\-]*", std::regex::optimize);
std::string title = m_title.str();
std::sregex_iterator it(title.begin(),title.end(),we);
std::sregex_iterator end;