[英]A repository of common PCRE patterns?
Does anyone know of a repository for common PCRE patterns? 有人知道通用PCRE模式的存储库吗? I'm not so interested in the PCRE syntax.
我对PCRE语法不太感兴趣。 I am more interested in a good set of rules for what's commonly allowed in fields such as:
我对一组良好的规则感兴趣,这些规则通常用于诸如以下领域:
I realise that there are a lot of factors here. 我意识到这里有很多因素。 Some fields, such as 'email address' or 'password', are subject to standards.
某些字段(例如“电子邮件地址”或“密码”)必须遵守标准。 Others, such as 'first name' or 'password' are not subject to standards, but do have common conventions.
其他名称(例如“名字”或“密码”)不受标准限制,但确实具有通用约定。 Furthermore, some fields, such as 'post code', vary with region.
此外,某些字段(例如“邮政编码”)随地区而异。
I can go ahead and read up on standards, try to create exhaustive lists of variants, etc, but is there some place where this has already been done? 我可以继续阅读标准,尝试创建详尽的变体列表,等等,但是在某个地方已经做到了吗?
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.