module CustomRegexp PHONE = /1\d{10}/ EMAIL = /^[a-zA-Z0-9]+([._\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/ LASTNAME = /^[a-zA-Z0-9\u4e00-\u9fa5]+$/ NICKNAME = /^[\u4e00-\u9fa5_a-zA-Z0-9]+$/ end