Skip to content

Commit

Permalink
fix asan build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Dec 28, 2024
1 parent b6b2ec9 commit bd8ac45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ada/url_pattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ class url_pattern_component {

private:
std::string pattern{};
std::regex_constants::syntax_option_type flags{};
std::regex regexp{};
std::regex_constants::syntax_option_type flags = std::regex::ECMAScript;
std::regex regexp{"*"};
std::vector<std::string> group_name_list{};

bool has_regexp_groups_ = false;
Expand Down

0 comments on commit bd8ac45

Please sign in to comment.