adonis0147 commented on code in PR #30642:
URL: https://github.com/apache/doris/pull/30642#discussion_r1473721328


##########
be/src/olap/delete_handler.cpp:
##########
@@ -303,7 +303,7 @@ Status DeleteHandler::parse_condition(const std::string& 
condition_str, TConditi
         //  group3:  ((?:[\s\S]+)?) matches "1597751948193618247  and 
length(source)<1;\n;\n"
         const char* const CONDITION_STR_PATTERN =
                 
R"(([\w$#%]+)\s*((?:=)|(?:!=)|(?:>>)|(?:<<)|(?:>=)|(?:<=)|(?:\*=)|(?:IS))\s*('((?:[\s\S]+)?)'|(?:[\s\S]+)?))";
-        regex ex(CONDITION_STR_PATTERN);
+        boost::regex ex(CONDITION_STR_PATTERN);

Review Comment:
   The following `regex_match` should be modified too.
   
   `regex_error` -> `boost::regex_error`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to