if charRef's contents is not in "abcdefghijklmnopqrstuvwxyz1234567890-" then error "Invalid option definition (long name can only contain A-Z, a-z, 0-9 or hyphen characters)." number -1703 from optionRef