Companion

Functions

Link copied to clipboard
open fun isAlpha(char: Char): Boolean
Link copied to clipboard
open fun isDigit(char: Char): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isHexDigit(char: Char): Boolean
Link copied to clipboard

All these characters are allowed in a pchar from a tokenizer perspective. Semantic validation may need to ensure that % is always followed by 2 hex digits.

Link copied to clipboard

All these characters are allowed in a pct-encoded char from a tokenizer perspective. Semantic validation may need to ensure that % is always followed by 2 hex digits.

Link copied to clipboard
open fun isReserved(char: Char): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isUnreserved(char: Char): Boolean

unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"