From 538acc56790a870888b1245f826372931060afb3 Mon Sep 17 00:00:00 2001 From: Shota Matsumoto Date: Mon, 19 Feb 2024 11:07:37 +0900 Subject: [PATCH] Fix warning for vars_to_approximate --- src/core/symbolic_simulate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/symbolic_simulate.cpp b/src/core/symbolic_simulate.cpp index c22961b9..0899c912 100644 --- a/src/core/symbolic_simulate.cpp +++ b/src/core/symbolic_simulate.cpp @@ -145,7 +145,7 @@ void add_vars_from_string(string vars_list_string, set &set_to_add, string buffer; while (std::getline(sstr, buffer, ',')) { trim_front_and_behind_space(buffer); - regex re("^\l[\l\d]*'*$"); + regex re(R"(^[a-z][a-z\d]*'*$)"); smatch match; if (!regex_search(buffer, match, re)) { cout << warning_prefix << " warning : \"" << buffer