change any char regexp to ext char

bug fix