[liujing] add extension method about istext
[liujing] make parse function stronger but not refactor yet