escaping issue in character class for NAME_CHAR