产生一个字符表达式组成的新的列。
它将使用一系列的规范,其中包括优先级编号以及一个通配字符表达式,以便与加载名称进行匹配。
It will have a series of specs that include a priority number and a wild card expression to match a load name or names.
因此,正则表达式 A*B将与字符串AB 、AAB 、AAAB或任何其它以 A 开头并以单个 B 为结尾的字符串相匹配。
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.
从左到右读入中缀表达式,每次一个字符。
Read the infix expression from left to right, one character at a time.
此表达式也会删除所有空字符和过量的空白。
This expression also removes all null characters and excess whitespace.
在其最简单的形式中,正则表达式可以匹配精确的字符序列。
In its simplest form, regular expressions can match exact sequences of characters.
由于模式是正则表达式,应确保转义正则表达式中的任何保留字符。
Since the pattern is a regular expression, be sure to escape any characters that are reserved characters in regular expressions.
正则表达式通过元字符加强的字符和操作符构建。
Regular expressions are built from characters and operators, augmented by metacharacters.
首先,请注意这个子表达式本身由两个子表达式组成,两者之间的字符并不属于任何一方。
First notice that this subexpression is itself composed of two child subexpressions, with some stuff in the middle that is not part of any child subexpression.
在这个特别的规则表达式中,出现了' [[:space:]] '字符类。
In this particular regular expression, we encounter the '[[: space:]]' character class.
可以将字符类看作是规则表达式的“原子”,通常会将那些原子组合成“分子”。
You can think of character classes as the "atoms" of regular expressions, and you will usually want to group those atoms into "molecules."
value值可以包含文本字符、变量或具有定制正则表达式的变量。
The value attribute can contain literal characters, variables, and variables with custom regular expressions.
当然,还可能有其它的格式,只需要在URL格式的字符串中修改正则表达式即可。
It is of course possible to have other formats, simply by changing he regular expression in the URL pattern string.
在本例中为一个字符串表达式。
单击画布,将字符串表达式连接到日志表达式。
Click the canvas, and connect the string expression to the log expression.
数据库分区表达式以一个空格字符结束;数据库分区表达式计算完毕后,空格后的内容附在容器名称的后面。
Terminate the database partition expression with a space character; whatever follows the space is appended to the container name after the database partition expression is evaluated.
正则表达式描述字符串的格式:使用最简单的正则表达式格式,您可以输入您希望匹配的文本。
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.
但是掩码字符串不如正则表达式那么灵活。
But mask strings are not as flexible as regular expressions.
正则表达式用来基于字符、频率和字符顺序定义字符串中的模式。
Regular expressions are used to define patterns in strings based on characters, frequency, and character order.
它表示一个正则表达式并提供了使正则表达式与字符串相匹配的逻辑。
It represents a regular expression and provides the logic to match the regular expression against strings.
例如,正则表达式abc将与字符串abc匹配,但不与def匹配。
For example, the regular expression ABC will match the string ABC but not DEF.
如果容器名称中在数据库分区表达式后面没有空格字符,则认为剩下的字符串是表达式的一部分。
If there is no space character in the container name after the database partition expression, it is assumed that the rest of the string is part of the expression.
清单8演示了如何使用正则表达式检查JSON字符串。
Listing 8 demonstrates how to check a JSON string with a regular expression.
简而言之,正则表达式描述字符串模式。
In a nutshell, a regular expression describes a string pattern.
这是包含被替换值替换了适当正则表达式匹配项的字符串。
This is the string that has the appropriate regular expressions matches replaced with the replacement value.
当然,正则表达式被限定为严格的字符串比较。
Of course, regular expressions are limited to strict string comparisons.
如果两种形式都不行,那么任何使用大型字符串的表达式都需要在本地计算。
If neither is possible, any expression using a large string needs to be evaluated locally.
搜索设置包括选择是否区分大小写、将搜索字符串作为正则表达式还是文本字符串解释等。
Search Settings include choosing case sensitivity, scope, and whether or not to interpret the search string as a regular expression or as a literal string.
此函数试图匹配正则表达式针对源字符串的模式的特定发生项。
This function attempts to match a specific occurrence of the pattern that is defined by the regular expression against the source string.
此函数试图匹配正则表达式针对源字符串的模式的特定发生项。
This function attempts to match a specific occurrence of the pattern that is defined by the regular expression against the source string.
应用推荐