Module: Addressable::URI::CharacterClasses

Defined in:
lib/gems/addressable-2.0.1/lib/addressable/uri.rb

Overview

Container for the character classes specified in <a href=“www.ietf.org/rfc/rfc3986.txt”>RFC 3986</a>.

Constant Summary collapse

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 + "\\/\\?"