BACK to addon.html#char-mapper

%guard          TEST_CMAP_DEFINE
%file           test-cmap.h
%table          test_cmap

%comment
        This file contains the character classifications
        used by char-mapper to test its proper functioning.
%

lower-case      "a-z"
upper-case      "A-Z"
alphabetic      +lower-case   +upper-case
oct-digit       "0-7"
dec-digit       "89"          +oct-digit
hex-digit       "a-fA-F"      +dec-digit
alphanumeric    +alphabetic   +dec-digit
var-first       "_"           +alphabetic
variable-name   +var-first    +dec-digit
option-name     "^-"          +variable-name
value-name      ":"           +option-name
horiz-white     "\t "
compound-name   "[.]"         +value-name   +horiz-white
whitespace      "\v\f\r\n\b"  +horiz-white
unquotable      "!-~"         -"\"#(),;<=>[\\]`{}?*'"
end-xml-token   "/>"          +whitespace
graphic         "!-~"
plus-n-space    "+"           +whitespace
punctuation     "!-~"         -alphanumeric -"_"
suffix          "-._"         +alphanumeric
suffix-fmt      "%/"          +suffix