Skip to content

Commit

Permalink
forgot to parse the + op
Browse files Browse the repository at this point in the history
  • Loading branch information
fradav committed Sep 28, 2023
1 parent a9abe2f commit 14f8203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse_parexpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void parse_paramexpression(const std::vector<std::string>& params_str,
size_t& p2)
{
op = op_type::none;
const regex param_re(R"#(([^\/\*]+)|((\w+)([\/\*])(\w+)))#");
const regex param_re(R"#(([^\/\*\+]+)|((\w+)([\/\*\+])(\w+)))#");
smatch base_match;
if (regex_match(to_parse,base_match,param_re)) {
if (base_match.size() == 6) {
Expand Down

0 comments on commit 14f8203

Please sign in to comment.