Module: Addressable::URI::CharacterClasses

Defined in:
lib/addressable/uri.rb

Overview

Container for the character classes specified in RFC 3986.

Constant Summary

ALPHA =
"a-zA-Z"
DIGIT =
"0-9"
GEN_DELIMS =
"\\:\\/\\?\\#\\[\\]\\@"
SUB_DELIMS =
"\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\="
RESERVED =
GEN_DELIMS + SUB_DELIMS
UNRESERVED =
ALPHA + DIGIT + "\\-\\.\\_\\~"
PCHAR =
UNRESERVED + SUB_DELIMS + "\\:\\@"
SCHEME =
ALPHA + DIGIT + "\\-\\+\\."
AUTHORITY =
PCHAR
PATH =
PCHAR + "\\/"
QUERY =
PCHAR + "\\/\\?"
FRAGMENT =
PCHAR + "\\/\\?"