correct esc chars in regexp
redesign _conv_to_num() & _conv_to_int()