"^\\d+{logcontent}quot; //非负整数(正整数 + 0)
"^[0-9]*[1-9][0-9]*{logcontent}quot; //正整数
"^((-\\d+)|(0+)){logcontent}quot; //非正整数(负整数 + 0)
"^-[0-9]*[1-9][0-9]*{logcontent}quot; //负整数
"^-?\\d+{logcontent}quot; //整数
"^\\d+(\\.\\d+)?{logcontent}quot; //非负浮点数(正浮点数 + 0)
"^(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*)){logcontent}quot; //正浮点数
"^((-\\d+(\\.\\d+)?)|(0+(\\.0+)?)){logcontent}quot; //非正浮点数(负浮点数 + 0)
"^(-(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*))){logcontent}quot; //负浮点数
"^(-?\\d+)(\\.\\d+)?{logcontent}quot; //浮点数
"^[A-Za-z]+{logcontent}quot; //由26个英文字母组成的字符串
"^[A-Z]+{logcontent}quot; //由26个英文字母的大写组成的字符串
"^[a-z]+{logcontent}quot; //由26个英文字母的小写组成的字符串
"^[A-Za-z0-9]+{logcontent}quot; //由数字和26个英文字母组成的字符串
"^\\w+{logcontent}quot; //由数字、26个英文字母或者下划线组成的字符串
"^[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+{logcontent}quot; //email地址
".*@.*\..*" //email地址
"^[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?{logcontent}quot; //url
回复Comments
作者:
{commentrecontent}