Module: Addressable::URI::CharacterClasses
- Defined in:
- 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 + "\\/\\?"