rename isEnableCharacters to isLegalChars and update tests
Preprae 0.0.5