AI助手支持GPT4.0
With this plugin you can define a PCRE regular expression against which data entered
使用此插件,您可以定义输入数据的PCRE正则表达式
in XProfile fields will be matched.
在XProfile字段中将被匹配。 p>
For example:
例如: p>
%^(https?://)?([^ :/]{1,63}\检查网页 em>字段以获取正确的(-ish)URL或域名:%^(https?://)?([^:/] {1,63} \ .)+[^ :/.]{2,63}%iu。)+ [^:/。] {2,63}%iu code> li>check age field for a sane(-ish) value (0-199): /^1?[0-9]?[0-9]$/检查 age em>字段以获取合理的(-ish)值(0-199): / ^ 1?[0-9]?[0-9] $ / code >> li>check phone field for a sane(-ish) value: /^+?[0-9 -]{7,45}$/检查电话 em>字段以获取合理的(-ish)值: / ^ +?[0-9-] {7,45} $ / code> li>check any field for a minimum and maksimum length: /^.{10,100}$/u检查任何字段的最小长度和最短长度: / ^。{10,100} $ / u code> li>
%^(https?://)?([^:/] {1,63} \ .)+[^ :/.]{2,63}%iu
.)+[^ :/.]{2,63}%iu
。)+ [^:/。] {2,63}%iu code> li>
/^1?[0-9]?[0-9]$/
/ ^ 1?[0-9]?[0-9] $ / code >
>
> li>
/^+?[0-9 -]{7,45}$/
/ ^ +?[0-9-] {7,45} $ / code> li>check any field for a minimum and maksimum length: /^.{10,100}$/u检查任何字段的最小长度和最短长度: / ^。{10,100} $ / u code> li>
/^.{10,100}$/u
/ ^。{10,100} $ / u code> li>
ul>
You can also configure a message to show when a field data does not validate.
您还可以配置一条消息,以在字段数据无效时显示。 p>
原文出处:http://www.sanshu.cn/a/5816.html
群主管理都是支付大佬