You run a regular expression against it to extract the user agent string.
您针对这个对象运行一个正则表达式,提取用户代理字符串。
Search for a finding based on a search string, or a regular expression.
基于搜索字符串寻找结果或者规则表达式。
Source: the input string the regular expression is matched against.
source:正则表达式所匹配的输入字符串。
Just put the word regex in brackets ([]) before a string to create a regular expression.
只需要把regex放在中括号里,然后放在一个字符串的前面就可以创建一个正则表达式了。
For example, the regular expression ABC will match the string ABC but not DEF.
例如,正则表达式abc将与字符串abc匹配,但不与def匹配。
Listing 8 demonstrates how to check a JSON string with a regular expression.
清单8演示了如何使用正则表达式检查JSON字符串。
In a nutshell, a regular expression describes a string pattern.
简而言之,正则表达式描述字符串模式。
Proving a language with a single string is regular.
提供一个字符串的语言规则。
Regular expression is the most popular string matching language in the world.
正则表达式语言是世界上最流行的字符串匹配语言。
Regular expression to match an empty string?
正则表达式匹配空字符串?
Complete Regular Expression required in search string.
搜索字符串中需要完整的正则表达式。
If no regular expression_r matches are found, the result from the convention string search is used.
如果没有找到匹配的正则表达式,使用常规字符串的结果。
Indicates whether the regular expression finds a match in the input string.
指示规则运算式是否在输入字串中寻找比对。
If no regular expression_r_r matches are found, the result from the convention string search is used.
如果没有找到匹配的正则表达式,使用常规字符串的结果。
Re-enter the search string using the correct regular expression syntax.
使用正确的正则表达式语法重新输入搜索字符串。
To use this example, pass the function a regular expression pattern and a string.
若要使用以下范例,请将规则运算式模式及字串提供给函式。
To use this example, pass the function a regular expression pattern and a string.
若要使用以下范例,请将规则运算式模式及字串提供给函式。
应用推荐