Starting with the first regular expression, create an array of records from the data file, then loop through the remaining regular expressions to refine the results.
从第一个正则表达式开始,创建一个来自数据文件的记录数组,然后循环执行其余的正则表达式以改进结果。
First, we will create a regular expression rule file to extract the concepts of area and location from text documents.
首先,我们要创建一个从文本文档中提取面积和位置概念的正则表达式规则文件。
Note that the brace expansion of the file path, not the full remote path expression, has been enclosed in double quotes.
请注意,文件路径中展开的大括号(不是完整的远程路径表达式)已用双引号括上。
The regular expression annotator is configured by means of an XML file.
正则表达式注释器是通过一个XML文件配置的。
A filter expression to select file storage areas based on its root directory path can be useful if you have organized your storage devices to be mounted under specific directory paths.
如果已经将存储设备挂载在特定目录路径下,那么根据根目录路径选择文件存储区域的筛选器表达式比较有用。
When searching for content in a file containing thousands of pages of documentation, you are likely to know much more than you can specify in just a word, phrase, or regular expression.
在搜索包含具有数千页面文档的文件内容时,您所知道的内容往往比可以在字、短语或规则表达式中指定的内容多得多。
A syntax tree can be created from an entire file or just a loose statement or expression.
我们可以从完整的文件创建语法树,也可以从松散的声明或者表达式生成它。
If all you need to do with an XML file is grab some text from within a single node, it might be possible to use a simple regular expression that will probably operate faster than any XML parser.
如果对XML文件所做的全部操作只是从单个节点获取一些文本,可以使用一个简单的正则表达式,其处理速度可能会比任何xml解析器都快。
Remember that the instant messaging client was extended to analyze and scan the messages for particular key phrases, as specified through a regular expression in the initialization file.
正如前面提到的,插件扩展了即时消息传递客户机,它会根据初始化文件中的正则表达式,分析消息并寻找特定的关键词。
The pattern that the text message must correspond to is defined through a regular expression defined through the element in the initialization file.
文本消息必须符合的模式是通过初始化文件中的元素中定义的正则表达式定义的。
The regular expression is a string loaded from a text file, so you don't need to change the code when you want to add support for a new type of postal code.
由于正则表达式是从文本文件中装载的一个字符串,所以当添加对新类型的邮政编码的支持时,不需要更改代码。
The dynamic content, article items intended for you, is prepared inside a JSP file using the <%= expression %> syntax.
动态内容,即打算提供给您的文章条目,是在JSP文件内使用 <%=expression %> 语法准备的。
Expression Web 3 also supports multiple publishing destinations per site and multi-channel file transfer for fast performance.
ExpressionWeb3也支持一个网站发布到多个目标以及多个渠道的文件传输来提高速度性能。
The set.tag file (see Listing 4) can be used in a scriptless JSP page to set the value of a #{...} expression.
可以在没有脚本的JSP页面中使用set.tag文件(参见清单4)来设置 #{...} 表达式的值。
You will need to obtain he regular expression jar file provided by GNU (see Resources) and place it in the extracted lib directory, in order to get the examples to work.
为了使示例运行,您将需要获取GNU提供的正则表达式jar文件(请参阅参考资料),并将它放置到解压缩产生的lib目录下。
Which, by default, looks for names that include the word Test or test, but a different regular expression can be provided on the command line or a configuration file.
(在默认情况下,寻找包含单词Test或 test 的名称,但是可以通过命令行或配置文件提供不同的正则表达式)。
You can specify a different regular expression either at the command line with the -m option, or by setting the option in your project's.noserc file.
通过在命令行上使用- m选项或在项目的.noserc文件中设置这个选项,可以指定另一个正则表达式。
The simple HelloWorld example in Listing 1 shows how a managed bean is accessed through EL expression within a ZUL file.
清单1中简单的HelloWorld例子显示了如何通过ZUL文件中的EL表达式来访问托管bean。
If your expression evaluates as false and thereby triggers an assertion failure, a predefined routine called assertion_failed declared in the header file assert.hpp is executed.
如果您的表达式计算得到false,因此触发了一个断言失败,那么将执行在头文件assert . hpp中声明的一个名为assertion_failed的预定义例程。
Listing 19 USES Zorba to read this file and add a new entry to the end using an XQuery Update expression.
清单19使用Zorba读取该文件,并使用XQueryUpdate表达式在末尾添加一个新条目。
When the expression is evaluated, the variable $file contains the name as it was found on stdin, and for convenience the variable $_ is also set to the same value.
在评价表达式时,变量 $file包含了可以在stdin,中找到的名字,出于方便考虑,变量 $_也被赋予相同的值。
Use Spring's DelegatingVariableResolver in JSF's configuration file as in this article's "Defining an expression resolver" section.
按照本文的“定义表达式解析器”一节描述的那样在JSF配置文件中使用Spring的DelegatingVariableResolver。
In the name field, enter Check and into the expression definition text field, type the following expression (the expression can also be found on the desktop in the file Calculation Definition.txt).
在name域中输入Check,并在Expressiondefinition文本域中输入以下表达式(在桌面上的Calculation definition . txt文件中也可以找到这个表达式)。
Most of the time when the expression is used, what is really meant is a stream file which is being accessed using IFS.
大部分时候使用这个称谓时,其真正含义通常是指使用IFS来访问的流文件。
In this article, we will cover building the flat-file database, regular-expression creation, and basic search and display.
在本文中,我们将介绍如何构建平面文件数据库,如何创建正则表达式,以及如何进行基本的搜索和显示。
No location specified for new breakpoint. Supply a function name, file location, data expression, or address.
没有为新断点指定位置。请提供一个函数名、文件位置、数据表达式或地址。
This file name passes the filter because the regular expression matches - up to the line end, the rest does not matter. The correct expression should read.
这个文件名能通过这个过滤器因为这个正则表达式能一直匹配到行尾,其余的都不重要。
With the regular expression-compatible words in place, the first grep is performed on the flat file itself, followed by a refining of the results with Perl's grep.
与正则表达式一致的查询词就绪后,将在平面文件自身上执行第一个grep,然后再用Perl的grep改进结果。
Conversely, Django USES a separate regular expression-based configuration file to map URLs to the underlying code, decoupling the URL path structure from the actual implementation.
反之,Django使用了一个单独的基于正则表达式的配置文件将URL映射为底层代码,这样就降低了URL路径结构与实际实现之间的耦合程度。
The most efficient and portable way of utilizing the speed and regular-expression capabilities of grep is to create a newline-delimited flat file from the contents of your LDAP directory.
利用grep的速度和正则表达式功能的高效且可移植的方法是从LDAP目录的内容创建一个按新行分隔的平面文件。
应用推荐