Adds the IsADigit() check for char.
Adds the IsAPunctuationMark() check for char.