我如何写一个正则表达式搜索在UA解析器项目?
How do I write a regex to search for items within UA-Parser?
返回正则表达式搜索中第一个子字符串匹配项的位置。
Returns the position of the first substring match in a regular expression search.
我如何使用正则表达式搜索短语在HTTP响应的身体吗?
附加的Firefox扩展可用于合并正则表达式搜索与其他文本高亮显示功能。
Additional Firefox extensions are available to incorporate regular-expression searches and other text-highlighting capabilities.
我们可以看到所有前导空格或后置空格已被删除,然后+号被转义以删除用正则表达式搜索的潜在干扰。
We can see that any leading or trailing Spaces are removed, then the + signs are escaped to remove potential interference with the regular-expression search.
接下来的代码遍历列表,把搜索查询的正则表达式应用于每个电影的标题。
The code then iterates through the list and applies a regular expression of the search query to each movie title.
无论每个当前词查询的内容为何,都需要一次或多次为字符后接的字符块创建用于搜索的正则表达式。
Regardless of the content of each piece of the current word query, create a regular expression that searches for that chunk followed by a word character one or more times.
但是该编辑器在许多方面都是保持基本的功能,例如,在搜索对话框中甚至不使用正则表达式。
But the editor remains basic in many ways -- not even using regular expressions in the search dialog, for example.
现有方法可能涉及根据词的词干或变音位构建正则表达式,以及其他搜索词的语言派生词。
Existing approaches might involve building a regular expression based on stems of a word, or metaphone, and other linguistic derivatives of a search term.
在本例中,您使用了更为强大的方式:PHP的preg_replace,它接受正则表达式作为其搜索关键词。
In this case, you use something a bit more powerful: PHP's preg_replace, which takes a regular expression as its search term.
然后,find函数搜索剧集列表以便使用与标题和摘要匹配的简单正则表达式来查找匹配项。
The find function then searches the episode list to find matches using a simple regular expression match on the title and the summary.
以下是一些使用grep作为搜索工具的正则表达式示例。
Here are a few examples of regular expressions using grep as the search tool.
本系列中的文章允许您将正则表达式的功能与grep工具结合使用,创建自定义LDAP搜索功能。
The articles in this series allow you to combine the power of regular expressions with the grep tool to create your own custom LDAP search capability.
本文允许将正则表达式的强大功能与grep工具结合使用来创建定制的LDAP搜索功能。
This article allows you to combine the power of regular expressions with the grep tool to create your own custom LDAP search capability.
我们不能使用fgrep来搜索使用模式的正则表达式。
You can't use fgrep to search for regular expressions with patterns.
在vi 中,可以使用 /命令搜索字符串,这需要以字面字符串或正则表达式的形式指定要匹配的模式。
You can search for strings in vi using the / command, specifying the pattern to match either as a literal string or as a regular expression.
Sed使用正则表达式语法在模式空间中搜索并有选择地替换文本,以及决定对哪些文本行应用编辑命令。
Sed USES regular expression syntax to search for and replace text selectively in the pattern space as well as to control which lines of text should be operated on by sets of editing commands.
正则表达式:搜索单词将作为一个正则表达式(在关键字搜索中,单词被视为正则表达式系列)。
Regular expressions: search word (s) will be regarded as a regular expression (in keyword search words will be treated as a sequence of regular expressions).
正则表达式不一定包含通配符,但通配符可以使正则表达式在搜索模式和处理文件时发挥更大的作用。
A regular expression doesn't have to contain wildcards, but wildcards can make regular expressions useful for searching for patterns and manipulating files.
这一工具使得上网者可以搜索符合特定正则表达式的代码,而这些搜索可以限制于特定的文件类型与许可。
The tool allows Web surfers to find code that matches certain regular expressions, and searches can be limited to certain file types and licenses.
搜索设置包括选择是否区分大小写、将搜索字符串作为正则表达式还是文本字符串解释等。
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.
使用正则表达式的文字进行搜索同样也依赖于字符编码。
Text searches using regular expressions are equally dependent on character encoding.
在本文中,我们将介绍如何构建平面文件数据库,如何创建正则表达式,以及如何进行基本的搜索和显示。
In this article, we will cover building the flat-file database, regular-expression creation, and basic search and display.
搜索主体、属性、值或注释中的文本,但没有正则表达式。
Search on text in bodies, attributes, values, or comments but no regular expressions.
在最简单的形式中,正则表达式(regular expression)是用来在文件中定位文本的一些搜索标准。
In their simplest form, regular expressions are the search criteria used for locating text in a file.
属性添加说明该字符串的正则表达式,或者创建自己的用于搜索该字符串的识别器。
Instead, add a regular expression that describes the string to the Expressions property, or create your own recognizer that searches for the string.
正则表达式并不总是完成工作的最佳工具,尤其当你只是搜索一个文本字符串时。
Regexes are not always the best tool for the job, especially when you are merely searching for literal strings.
因为循环检查字符是不是空格在效率上不如正则表达式所使用的优化过的搜索代码。
That's because looping over characters to check whether they are whitespace can't match the efficiency of a regex's optimized search code.
当一个正则表达式投入使用时,首先要确定目标字符串中开始搜索的位置。
When a regex is put to use, the first step is to determine the position within the target string where the search should start.
当然无须任何正则表达式的知识,你仍然可以搜索及替换普通文本。
Of course, you can just search and replace normal text without needing to learn regular expressions.
应用推荐