dIsPhone method

bool dIsPhone()

是否是手机号码

Implementation

bool dIsPhone() {
  return dRegExpMatch(
      r'^((13[0-9])|(14[0-9])|(15[0-9])|(16[0-9])|(17[0-9])|(18[0-9])|(19[0-9]))\d{8}$');
}