220 {
221
227
232
233 _re =
re(
"([a-z]+)://([^:/\?]+)?(:[0-9]+)?(/[^\?#]+)?([^#]+)?(#.*)?", 0);
234}
ident interface
The interface of the Class.
Object * copy(const Object *self)
Creates a shallow copy of this Object.
_Bool isEqual(const Object *self, const Object *other)
Tests equality of the other Object.
OBJECTIVELY_EXPORT Regexp * re(const char *pattern, int options)
A convenience function for instantiating Regexps.
String * initWithCharacters(String *self, const char *chars)
Initializes this String by copying chars.
Array * pathComponents(const URL *self)
URL * initWithCharacters(URL *self, const char *chars)
Initializes this URL with the specified characters.