Therefore the regular expression A*B will match the strings AB, AAB, AAAB, or any other string starting with an A and ending with a single B.
因此,正则表达式 A*B将与字符串AB 、AAB 、AAAB或任何其它以 A 开头并以单个 B 为结尾的字符串相匹配。
It works correctly with undefined values as well, whereas with warnings turned on, a regular expression match on an undefined value will print a warning.
该函数也会正确地处理未定义的值,尽管在警告打开时,常规表达式在匹配未定义的值时会输出警告信息。
When I set out looking for an algorithm, I looked at examples in a specific context (regular expression) and I attempted to match them to a completely different context.
当我开始寻找算法时,我看了在特定上下文(正则表达式)中的一些示例,而且尝试了将它们与一个完全不同的上下文相匹配。
This function compiles the given regular expression into a pattern with the given mode and attempts to match the given input against it.
此函数将给定正则表达式编译到具有给定模式的模式中并尝试匹配针对它的给定输入。
The cornerstone is the predicate matches, which allow for a regular expression match over an attribute (or all the attributes).
这一集成的基础是谓词匹配,它允许正则表达式在一个属性(或所有属性)之上匹配。
A regular expression describes the format of a string: With the simplest form of regular expression, you input the text that you want to match.
正则表达式描述字符串的格式:使用最简单的正则表达式格式,您可以输入您希望匹配的文本。
It represents a regular expression and provides the logic to match the regular expression against strings.
它表示一个正则表达式并提供了使正则表达式与字符串相匹配的逻辑。
This function attempts to match and return a specific occurrence of a pattern that is defined by the regular expression against the source string.
此函数试图匹配并返回正则表达式针对源字符串定义的模式的特定发生项。
Looking at the code, you can see that the regular expression pattern was set to match a line that contained 20-29%.
查看该代码,可以看到正则表达式模式被设置为匹配某个包含20- 29%的行。
This function attempts to match a specific occurrence of the pattern that is defined by the regular expression against the source string.
此函数试图匹配正则表达式针对源字符串的模式的特定发生项。
You can replace a recognition property with a regular expression -- or a numeric range -- to allow for pattern-based recognition, instead of being limited to an exact match.
您可以用正则表达式替代识别属性 ——或者考虑基于模式的识别,替代精确地匹配。
The first regular expression will match the string "main" followed by any number of Spaces or tabs, followed by an open parenthesis.
第一个规则表达式将与后面依次跟有任意数量的空格或制表键以及开始圆括号的字符串“main ”匹配。
If a match is found, a regular expression replace is performed on the requested path with the value of the SendTo property.
如果找到了匹配的规则,将在具有sendto属性值的被请求路径上执行正则表达式替换。
The find function then searches the episode list to find matches using a simple regular expression match on the title and the summary.
然后,find函数搜索剧集列表以便使用与标题和摘要匹配的简单正则表达式来查找匹配项。
The first line tells devfsd to perform the MKOLDCOMPAT action when any device (.* is a regular expression that will match any device) is registered with the kernel.
第 1行告诉devfsd ,当有内核中注册任何设备(.*是表示匹配 任何设备的正则表达式)时,执行MKOLDCOMPAT 操作。
Given a string, it loops through the Match to try to find the appropriate regular expression.
给定一个字符串,它对Match进行循环以试图找到相应的正则表达式。
This rule verifies that any records that have country as US also have postal codes that match a particular regular expression.
该规则验证了任何country为us的记录,其postalcodes也匹配一个特定正则表达式。
For example, the regular expression a will match the string abcdcba twice (the first and last a) and so will the regular expression b.
例如,正则表达式a匹配字符串abcdcba两次,正则表达式b 也是一样。
Section 6.5 deals with regular expression string generation, which is a commonly asked question: "Given a regular expression, how do you find all the strings that match it?"
节介绍的是正则表达式字符串的生成问题,这是一个经常被问到的问题:“给定一个正则表达式,我们应该如何查找与之匹配的所有字符串呢?”
A match expects a text-highlighting specification (STANDOUT in this example), followed by a regular expression that specifies which text to highlight.
match要求一个文本突出显示说明(本例中为STANDOUT),紧接着是一个正则表达式,指定要突出显示哪段文本。
Match (see Listing 4) represents a single regular expression.
Match (请参阅清单4)表示一个正则表达式。
You can compare data to a regular expression; if they match, you know your data is valid.
您可以将数据与正则表达式进行比较,如果它们匹配,则知道数据是有效的。
The handler function is called when the request type and the regular expression match.
当请求类型与正规表达式匹配时,就会调用处理器函数。
The power behind much of this automation is the regular expression, a veritable set of hieroglyphics to find, match, and decompose strings.
实现这种自动化主要依靠正则表达式,它是用来查找、匹配和分解字符串的一组真正的象形文字。
It also supports filtering of the files to add by passing a second parameter with the regular-expression pattern of files to match and add to the archive.
它还支持对添加的文件进行过滤,方法是使用文件的正则表达式模式传递第二个参数,以匹配文件并添加到归档中。
You can also use regular expression-like groups to match files.
您还可以使用类似于正则表达式的组来匹配文件。
They specify a pattern, and the command that immediately follows a regular expression address will only be applied to a line if it happens to match this particular pattern.
它们指定一种模式,紧跟在规则表达式地址之后的命令将仅适用于正好与该特定模式匹配的行。
For example, the regular expression ABC will match the string ABC but not DEF.
例如,正则表达式abc将与字符串abc匹配,但不与def匹配。
For example, the regular expression ABC will match the string ABC but not DEF.
例如,正则表达式abc将与字符串abc匹配,但不与def匹配。
应用推荐