字符串
相等 Equal
v.val("This string", "='This string'"); // true开头是 Start with
v.val("This string", "starts with 'This'"); // true结尾是 Ends with
v.val("This string", "ends with 'string'"); // true在字符串中 In
v.val("string", "in 'a longer string that contains it'"); // true包含 Contains
不为空 Not empty
最大长度 Max length
百分比 Percentage
Base64
数字 Number
整数 Int
浮点数 Float
十六进制数字 Hex number
十六进制颜色 Hex color
电话号码 Phone
手机号码 Mobile
符合正则表达式 Match regex
Last updated