From 377ab9da64bace39545281711a8d5a7451bdf141 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 12 Jan 2022 09:26:54 -0500 Subject: [PATCH] change *++exprp to *(++exprp) --- cpp/src/strings/regex/regcomp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/strings/regex/regcomp.cpp b/cpp/src/strings/regex/regcomp.cpp index 9471380fe0b..8fbd82b8dc7 100644 --- a/cpp/src/strings/regex/regcomp.cpp +++ b/cpp/src/strings/regex/regcomp.cpp @@ -261,7 +261,7 @@ class regex_parser { char32_t c = *exprp; while (c >= '0' && c <= '7') { yy = (yy << 3) | (c - '0'); - c = *++exprp; + c = *(++exprp); } return CHAR; } else {