一个蒙版就是个正则表达式,它代表了一次比较期间应该被忽略的文本。
A mask is a regular expression that represents text that should be ignored during a comparison.
您可以将数据与正则表达式进行比较,如果它们匹配,则知道数据是有效的。
You can compare data to a regular expression; if they match, you know your data is valid.
当然,正则表达式被限定为严格的字符串比较。
Of course, regular expressions are limited to strict string comparisons.
应用推荐