summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index f7849a3..3fd1069 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2220,7 +2220,7 @@ static MemberDef *addVariableToFile(
{
ttype.stripPrefix("struct ");
ttype.stripPrefix("union ");
- static std::regex re("[:alpha:]_][:alnum:]_]*");
+ static std::regex re("[[:alpha:]_][[:alnum:]_]*");
std::smatch match;
std::string typ = ttype.str();
if (std::regex_search(typ,match,re))