| 9036 | } |
| 9037 | template <url_pattern_regex::regex_concept regex_provider> |
| 9038 | bool url_pattern<regex_provider>::has_regexp_groups() const { |
| 9039 | // If this's associated URL pattern's has regexp groups, then return true. |
| 9040 | return protocol_component.has_regexp_groups || |
| 9041 | username_component.has_regexp_groups || |
| 9042 | password_component.has_regexp_groups || |
| 9043 | hostname_component.has_regexp_groups || |
| 9044 | port_component.has_regexp_groups || |
| 9045 | pathname_component.has_regexp_groups || |
| 9046 | search_component.has_regexp_groups || hash_component.has_regexp_groups; |
| 9047 | } |
| 9048 | |
| 9049 | inline bool url_pattern_part::is_regexp() const noexcept { |
| 9050 | return type == url_pattern_part_type::REGEXP; |