RegEx
- 网络正则表达式;使用正则表达式;表达式;正则
-
Each regex is represented by a match element .
每个正则表达式都由一个匹配元素表示。
-
If a complete match is found at the current position in the string , the regex declares success .
如果在字符串的当前位置上发现一个完全匹配,那么正则表达式宣布成功。
-
It then uses one regex function to read in each book item .
然后用一个regex函数读取每个图书项目。
-
To create one , you simply use the / regex / syntax .
要创建正则表达式,只需使用/regex/语法。
-
It provides an excellent introduction to regex and has many useful examples .
它会提供regex的精彩介绍,并包含许多有用的示例。
-
Regular expression ( regex ) matching is a crucial task in network security .
正则表达式匹配是网络安全领域的一个关键技术。
-
Slow regex processing is usually caused by slow failure rather than slow matching .
正则表达式处理慢往往是因为匹配失败过程慢,而不是匹配成功过程慢。
-
This function divides the string at every point that matches the provided regex .
此函数将在匹配给定regex的每个点上划分字符串。
-
Many additional text analysis components including word splitting , regex and sounds-like filters
多个新增的文本分析组件,包括分词、正则表达式过滤器和近似读音过滤器
-
Such a little program is useful if you want to test or refine a regex .
如果需要测试或改进regex,则这种小型程序非常有用。
-
This log regex adds three alternatives to the previous regex .
这条正则式在前一条的基础上增加了三种备选匹配项。
-
The pattern emulates the functions of a traditional JavaScript regular expression ( regex ) .
该模式模拟了传统JavaScript正则表达式(regex)的函数。
-
If the specified mode is incorrect , any of the regex functions will return an error .
如果指定的模式不正确,所有regex函数都将返回错误。
-
Regex : Download a free copy of Henry Spencer 's regular expression libraries .
regex:下载HenrySpencer的正则表达式库。
-
Users of your regex will be able to easily understand and modify the pattern to meet their needs .
你的正则的使用者可以方便地明白和修改以达到他们的需求。
-
The input has to match the defined pattern structure of the regex before it can be validated .
输入必须与regex定义的模式结构匹配,才可以进行验证。
-
Atomic groups are special regex groups that are non-capturing .
原子组是正则的群组里特殊的一种,它不被捕获。
-
More often , though , a regex is used to prove a match and to extract information about the match .
但是,regex更常用于检验匹配和提取关于匹配的信息。
-
Another use of regex is formatting , or normalizing or improving , the readability of data .
regex的另一个应用是格式化、规范化或提高数据的可读性。
-
The regex must try all of these permutations before giving up on the match attempt .
正则表达式在最终放弃匹配之前必须尝试所有的排列组合。
-
A regular expression ( regex ) describes patterns in a concise , readable notation .
正则表达式(regex)使用简明、易读的符号描述模式。
-
To demonstrate the problem , consider the following regex , which is designed to match an entire HTML file .
为说明此问题,考虑下面的正则表达式,它的目标是匹配整个HTML文件。
-
Note : We did not implement full regex to validate the URLs , which would be a good idea .
注意:我们并没有实现完整的正则表达式来验证URL,这其实是一种好的做法。
-
Finally , the regex man page , available on many UNIX systems , provides information on building POSIX regexps .
最后,很多UNIX系统上提供的regex手册页提供了有关构建POSIXregexp的信息。
-
In programming , a regular expression is written in a formal language , also known as regex or regexp .
在编程中,正则表达式是用一种形式语言编写的,也称为regex或regexp。
-
The leading and trailing slash shown in the code simply indicate the start and end of the regex .
代码中的首尾斜杠只表示regex的开头和结尾。
-
We can now see that our regex has turned into a simple " program " that will be executed later .
可以看到,正则表达式已经被转化为一个稍后可供运行的简单“程序”。
-
Remove the question marks after the quote characters if you will use this regex to extract URLs .
如果你要使用本正则式析取URL,请删除引号后面的引号。
-
If not , the regex continues searching for a match until it finally makes its way through the entire string .
如果不是这样的话,正则表达式就继续搜索匹配,直到穿越了整个字符串。
-
You have to include the character or characters between the words , otherwise the regex fails to find a match .
在单词之间必须包括这一(或这些)字符,否则该regex将无法找到匹配。