Make first char's character class configurable