如果忽略掉它,regex将匹配开头为字母、包含2至9个字母数字字符以及任意数目的任何其他字符的所有字符串。
If you omit it, your regex would match any string that begins with a letter, contains two to nine alphanumeric characters, and any number of any other characters.
这个语法使用的是PRCE (Perl Compatible Regular Expressions),一种用来匹配任意目标字符串模式的有效方法。
The syntax USES PRCE (Perl Compatible Regular Expressions), a very powerful way of matching any desired string pattern.
如果这两个字符串中有任意一个与参数相匹配,那么函数就会返回相应的鱼饵数组。
If either one of those strings matches the parameter, then the appropriate array of lures is returned.
应用推荐