Remove redundant hex character checks. Thanks to: You Nakatsuru