Skip to content

Commit

Permalink
fixed ECMAScript qualification
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Dec 26, 2024
1 parent ec2f608 commit 4cf094e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/url_pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ url_pattern_component::compile(std::string_view input, F encoding_callback,
std::regex_constants::syntax_option_type flags =
options.ignore_case
? std::regex::icase |
std::regex_constants::syntax_option_type::ECMAScript
: std::regex_constants::syntax_option_type::ECMAScript;
std::regex_constants::ECMAScript
: std::regex_constants::ECMAScript;

// Let pattern string be the result of running generate a pattern
// string given part list and options.
Expand Down

0 comments on commit 4cf094e

Please sign in to comment.