MCPcopy Create free account
hub / github.com/NativeScript/android / has_regexp_groups

Method has_regexp_groups

test-app/runtime/src/main/cpp/ada/ada.h:9038–9047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9036}
9037template <url_pattern_regex::regex_concept regex_provider>
9038bool 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
9049inline bool url_pattern_part::is_regexp() const noexcept {
9050 return type == url_pattern_part_type::REGEXP;

Callers 1

GetHasRegexpGroupsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected