The trick is encoding this description in the compact syntax of regular expressions.
诀窍是使用规则表达式的简洁语法来编码这种描述。
Regular expressions are ideal to extract concepts like phone or credit card numbers, addresses, dates, etc..
正则表达式很适合提取电话号码、信用卡号码、地址、日期等概念。
We start with two regular expressions, one for records of books and another for records of magazines.
我们从两个正则表达式开始,其中一个记录书的信息,另外一个记录杂志。
It defines an XML language for defining regular expressions for the lexical representation of new types.
它定义了一种xml语言,可用于定义新类型的词汇表示的正则表达式。
In the context of regular expressions, patterns are text representations of sequences of characters.
在正则表达式的上下文中,模式是字符序列的文本表示法。
Explanation of using regular expressions, enumerations, unions, lists, and substitution groups.
使用正则表达式、枚举、联合、列表和置换组的说明。
Make sure you know your regular expressions, flow control, and default variable operations.
请确保您了解您的正则表达式、流控制和缺省变量操作。
Whether you need to validate form input or decompose content, regular expressions can do the trick.
无论您是需要验证表单输入,还是需要分解内容,使用正则表达式都非常有用。
In its simplest form, regular expressions can match exact sequences of characters.
在其最简单的形式中,正则表达式可以匹配精确的字符序列。
These rewriting rules demonstrate the power of regular expressions.
这些重写规则表明了正则表达式的功能。
Regular expressions are used to define patterns in strings based on characters, frequency, and character order.
正则表达式用来基于字符、频率和字符顺序定义字符串中的模式。
Routes make use of regular expressions for pattern matching, and are expressed using XML.
路由在模式匹配时使用正则表达式,并且使用XML表示。
Unfortunately, this kind of query also represents an overzealous use of regular expressions.
遗憾的是,此类查询还体现出对于使用正则表达式的过度热衷。
Of course, regular expressions are limited to strict string comparisons.
当然,正则表达式被限定为严格的字符串比较。
The rewriting rules can use regular expressions to allow for powerful rewriting rules.
重写规则可以使用正则表达式来实现功能强大的重写规则。
Implement some regular expressions to properly validate form field entries.
实现一些正则表达式来适当地验证表单字段条目。
Unfortunately, simple regular expressions are unable to cope with complex patterns and symbols.
但不幸的是,简单的正则表达式并不满足于处理复杂的模式和符号。
Regular expressions are built from characters and operators, augmented by metacharacters.
正则表达式通过元字符加强的字符和操作符构建。
Again, it is trivial to parse those files with regular expressions.
用正则表达式解析这些文件同样没有什么大不了的。
For more detailed information on regular expressions, see Resources.
有关正则表达式更详细的信息,请参阅参考资料。
XI, on the other hand, uses regular expressions to transform text documents into XML.
相反,XI使用正则表达式来将文本文档转换成XML。
Many UNIX commands use regular expressions as arguments.
大量UNIX命令使用正则表达式作为参数。
Text searches using regular expressions are equally dependent on character encoding.
使用正则表达式的文字进行搜索同样也依赖于字符编码。
What we won't cover in this section is the details of writing regular expressions.
我们不会在这里涵盖书写正则表达式的细节。
This application USES some string methods, some regular expressions, and some program logic driven mostly by regular expressions and string matches.
该应用程序使用了一些字符串方法、一些正则表达式和一些主要由正则表达式和字符串匹配所驱动的程序逻辑。
This provides a good introduction to regular expressions.
这篇文章对正则表达式进行了很好的介绍。
This allows hexadecimal values in regular expressions when parsing.
这允许在解析时在正则表达式中使用十六进制值。
As for regular expressions, remember that old saying that goes: "you had a problem and you tried to use regular expressions to solve it."
对于正则表达式,请记住一句老话:“您有一个问题,用正则表达式解决。”
Concatenating two regular expressions creates a longer expression.
连接两个正则表达式创建一个更长的正则表达式。
Concatenating two regular expressions creates a longer expression.
连接两个正则表达式创建一个更长的正则表达式。
应用推荐