单词 | regex | ||||||||||||
释义 | regex
更多释义 收起释义 例句释义: 正则表达式,使用正则表达式,正则表达式校验器 1. The mode parameter that each of the four regex functions accepts should be a string of up to three characters, out of four possible modes. 四个regex函数中的每个函数可以接受的模式参数都应该是一个最多三个字符的字符串,且不属于四种可能的模式。 www.ibm.com 2. It turns out that this smokes the regex competition when there is only a bit of whitespace on the ends of the string. 当字符串末尾只有少量空格时,这种情况使正则表达式陷入疯狂工作。 blog.sina.com.cn 3. It should be pretty easy to construct a decent regex now that we've got the structure and special characters down. 在我们了解了它的结构和特殊字符之后,产生一个合适的正则表达式应该就很容易了。 linux.cn 4. Commonly referred to as regexes, regular expressions are a feature of nearly all modern programming languages. 正则表达式是几乎所有现代编程语言的共有特性之一,通常被简称为regexes(regex的复数,RegularExpression的简称)。 www.bing.com 5. The key to preventing this kind of problem is to make sure that two parts of a regex cannot match the same part of a string. 预防此类问题的关键是确保正则表达式的两个部分不能对字符串的同一部分进行匹配。 blog.sina.com.cn 6. This regex matches host names (albeit solely within the . com, . edu, and . info domains), as you may have predicted. 您可能已经预料到此regex将匹配主机名(虽然只在.com、.edu和.info这几个域中)。 www.ibm.com 7. When a regex is put to use, the first step is to determine the position within the target string where the search should start. 当一个正则表达式投入使用时,首先要确定目标字符串中开始搜索的位置。 blog.sina.com.cn 8. Each time the regex makes such a decision, it remembers the other options to return to later if necessary. 每当正则表达式做出这样的决定,如果有必要的话,它会记住另一个选项,以备将来返回后使用。 blog.sina.com.cn 9. Users of your regex will be able to easily understand and modify the pattern to meet their needs. 你的正则的使用者可以方便地明白和修改以达到他们的需求。 wind-wood.blog.163.com 10. The leading and trailing slash shown in the code simply indicate the start and end of the regex. 代码中的首尾斜杠只表示regex的开头和结尾。 www.ibm.com 1. Because of the outer loop, the regex essentially advances right to left looking for a digit followed by three digits and a word boundary. 由于是外部循环,因此regex实质上将从右向左前进查找后接三位数和词界的一位数。 www.ibm.com 2. The Regex class contains several static methods that allow you to use a regular expression without explicitly creating a Regex object. Regex类包含若干静态方法,使您无需显式创建Regex对象即可使用正则表达式。 msdn2.microsoft.com 3. Just put the word regex in brackets ([]) before a string to create a regular expression. 只需要把regex放在中括号里,然后放在一个字符串的前面就可以创建一个正则表达式了。 www.bing.com 4. Each time the regex finds an intermediate tag and exits a lookahead, it throws away all backtracking positions from within the lookahead. 正则表达式每次找到一个中间标签就退出一个前瞻,它在前瞻过程中丢弃所有回溯位置。 blog.sina.com.cn 5. To validate such a user name, say, in a Web form submitted to your server, you might use a regex such as ^[A-Za-z]. 假定要在提交给您的服务器的Web表格中验证这样的用户名,可以使用类似于^[A-Za-z]的regex。 www.ibm.com 6. We can now see that our regex has turned into a simple "program" that will be executed later. 可以看到,正则表达式已经被转化为一个稍后可供运行的简单“程序”。 www.infoq.com 7. In programming, a regular expression is written in a formal language, also known as regex or regexp. 在编程中,正则表达式是用一种形式语言编写的,也称为regex或regexp。 www.ibm.com 8. The Test Rule section of the RegEx editor, which is shown in Figure 6, is used to test your rule on a set of sample text snippets. 使用RegEx编辑器的TestRule部分(见图6)在一组示例文本片段上测试规则。 www.ibm.com 9. A new filler element contains portions of the regex that are not in a group (that is, they do not generate XML tags). 一个新的filler元素包含不属于组的那部分正则表达式(即不生成XML标签)。 www.ibm.com 10. Other switches allow you to limit indexing to only add files whose name matches a pattern (either regex or glob). 其它开关允许您将索引限于只添加其名称与模式(regex或glob)匹配的文件。 www.ibm.com 1. Such a little program is useful if you want to test or refine a regex. 如果需要测试或改进regex,则这种小型程序非常有用。 www.ibm.com 2. Note: The i modifier at the end of the regex makes all matches within the pattern, case-insensitive. 注:使用regex末尾的i修饰语可以使模式内的所有匹配都不区分大小写。 www.ibm.com 3. This regex reads, "The start of a string followed immediately by any uppercase letter (A-Z) or any lowercase letter (a-z). " 此regex表示“字符串的开头后紧跟任意大写字母(A-Z)或任意小写字母(a-z)。” www.ibm.com 4. The Regex object is initialized with the regular expression, and specified to be case-insensitive. Regex对象用正则表达式进行初始化,并被指定为区分大小写。 msdn2.microsoft.com 5. This is similar to the last regex, but it replaces the lazy quantifier with a greedy one for performance reasons. 这个表达式与上一个很像,但出于性能原因以贪婪量词取代了懒惰量词。 blog.sina.com.cn 6. Some people go overboard, using regex caching schemes that aim to avoid ever compiling a given pattern and flag combination more than once. 有人做的太过火,使用正则表达式缓存池,以避免对给定的模板和标记组合进行多次编译。 blog.sina.com.cn 7. Consult references on those APIs for the hairy details, as they may be subtly different than the regex support in your language of choice. 参考这些API的文档来获取详细信息,不同语言之间可能会存在微妙的差别。 www.bing.com 8. That's because looping over characters to check whether they are whitespace can't match the efficiency of a regex's optimized search code. 因为循环检查字符是不是空格在效率上不如正则表达式所使用的优化过的搜索代码。 blog.sina.com.cn 9. Given a regex and a datum, a regex engine yields whether the datum matches a pattern and, if a match was found, what matched. 给定一个正则表达式和数据,正则表达式引擎将得到数据是否匹配模式及匹配内容(如果找到匹配)等结果。 www.ibm.com 10. This attribute must be a regular expression that works with the Regex class. 该属性必须是可用于Regex类的正则表达式。 msdn2.microsoft.com 1. Techniques like content-based filters (XPath or Regex) can then be used to selectively apply policies to particular messages. 然后,可以使用诸如基于内容的筛选(XPath或者Regex)之类的技术,以便有选择地将这些策略应用于特定的消息。 www.ibm.com 2. However, this proved too complex with long regexes (it was difficult to decide how the group elements related to the regex). 但是,实践证明对于很长的正则表达式这样太复杂了(很难确定group元素与正则表达式的关系)。 www.ibm.com 3. Using a concise shorthand, regexes describe the form of data and decompose it. 使用简明的简写方式,regex说明了数据的格式并分解数据。 www.ibm.com 4. For a full description of POSIX regular expressions see the regex man pages included in the regex directory in the PHP distribution. POSIX正则表达式完整的描述见包含在PHP发行包中regex目录下的man页面。 www.phpx.com 5. The following code example creates an instance of the Regex class and defines a simple regular expression when the object is initialized. 下面的代码示例创建了Regex类的实例并在初始化对象时定义一个简单的正则表达式。 msdn2.microsoft.com 6. Indicates whether the regular expression specified in the Regex constructor finds a match in the input string. 指示Regex构造函数中指定的正则表达式在输入字符串中是否找到匹配项。 msdn2.microsoft.com 7. Here, the regex is simply , (a comma, the eponymous delimiter of a comma-separated list). 在这里,regex只是,(一个逗号,以逗号分隔的列表中的分隔符)。 www.ibm.com 8. Just keep in mind that you need to use the appropriate back reference number if your regex contains more than one capturing group. 只要记住,你需要使用适当的后向引用次数如果你的正则表达式包含多个捕获组。 blog.sina.com.cn 9. If the specified mode is incorrect, any of the regex functions will return an error. 如果指定的模式不正确,所有regex函数都将返回错误。 www.ibm.com 10. If your input spans multiple lines, a typical regex won't suffice because scanning terminates at a newline, denoted by $. 如果输入跨度多行,则使用典型的regex是不够的,因为扫描将在$所指示的换行符处终止。 www.ibm.com 1. A regular expression (regex) describes patterns in a concise, readable notation. 正则表达式(regex)使用简明、易读的符号描述模式。 www.ibm.com 2. Table 1 provides a list of the POSIX regex functions that will not be available after ereg is removed. 表1列出了删除ereg之后将不可用的POSIX正则表达式函数。 www.ibm.com 3. To simplify coding, the latest version of XI lets you associate portions of the regex directly to the group element. 为了简化编码,最新的XI版本允许您直接把正则表达式的一部分与group元素关联。 www.ibm.com 4. The Rule section of the RegEx editor, which is shown in Figure 7, is where you actually enter the regular expression. RegEx编辑器的Rule部分(见图7)是实际输入正则表达式的地方。 www.ibm.com 5. Gets or sets the maximum number of entries in the current Regex object's cache of compiled regular expressions. 获取或设置已编译正则表达式的当前Regex对象的缓存中的最大项数。 msdn2.microsoft.com 6. The regex must try all of these permutations before giving up on the match attempt. 正则表达式在最终放弃匹配之前必须尝试所有的排列组合。 blog.sina.com.cn 7. This means LINQPad is useful for any code snippet needing simple testing, e. g. , tricky numeric format strings or Regex matching. 这也意味着对于要进行简单测试的任何简短代码,LINQPad非常有用,例如:棘手的数字格式字符串或者匹配正则表达式。 www.infoq.com 8. In the first versions of XI, you would specify the regex through a pattern attribute associated to the match element. 在XI的第一个版本中,您应该通过与匹配元素相关的模式属性指定正则表达式。 www.ibm.com 9. The following example uses the Matches method of the Regex class to fill a MatchCollection with all the matches found in the input string. 下面的示例使用Regex类的Matches方法,通过在输入字符串中找到的所有匹配填充MatchCollection。 msdn2.microsoft.com 10. Try to avoid doing too much with a single regex. 尽量避免一个正则表达式做太多的工作。 blog.sina.com.cn 1. As introduced in Part 1, regexes are one of the most powerful tools for manipulating data. 如第1部分中所述,regex是处理数据的最强大工具之一。 www.ibm.com 2. Rather than split the numeric sequence into individual digits and write complex code, a regex can test for validity. regex不会把数字序列分隔为单个数字并编写复杂的代码,而是会测试其有效性。 www.ibm.com 3. Regex monstrosities that do everything in one pattern are difficult to maintain, and are prone to backtracking-related problems. 在一个模板中完成所有工作的正则表达式怪兽很难维护,而且容易引起回溯相关的问题。 blog.sina.com.cn 4. Java regex functions that propose specifications for the Java functions. Javaregex函数,提出了Java函数的规范。 www.ibm.com 5. Whenever it finds text that matches the regular expression specified in the regex attribute, it inserts an a element. 当它发现匹配regex属性中指定的正则表达式的文本后,它将插入一个a元素。 www.ibm.com 6. The regex reads, "A sequence of whole words 'the' or 'of' followed by a non-word character. " 该regex表示“一连串完整单词‘the’或‘of’后面紧跟非文字字符。” www.ibm.com 7. The TOKEN statement contains a regex-like expression that describes what integer tokens look like. TOKEN语句包含类似regex的表达式,该表达式描述了整数记号看起来象什么。 www.ibm.com 8. Regex objects can be created on any thread and shared between threads. 可以在任何线程上创建Regex对象,并在线程间共享。 msdn2.microsoft.com 9. Rather than use regex to find and extract text, formatting uses regex to find and insert text at the proper position. 格式化不是使用regex查找和提取文本,而是使用regex查找并在正确位置插入文本。 www.ibm.com 10. Jeffrey Friedl's book, Regular Expressions (third edition), is considered the bible of regex use. JeffreyFriedl编著的《正则表达式》(第三版)被认为是regex用法方面的圣经。 www.ibm.com 1. It does not contain all the details that can be found in Henry Spencer's regex(7) manual page. 本附录未包含可在HenrySpencer的regex(7)手册页面中发现的所有细节。 mysql.crihan.fr 2. Using a static method is equivalent to constructing a Regex object, using it once and then destroying it. 使用静态方法等效于构造Regex对象,使用该对象一次然后将其销毁。 msdn2.microsoft.com 3. It lets you embed whitespace in a subpattern, making the regex easier to read. 它允许您在子模式中嵌入空白,使regex更易读。 www.ibm.com 4. The Regex class represents an immutable (read-only) regular expression. Regex类表示不可变(只读)正则表达式类。 msdn2.microsoft.com 5. Get the part of a string matched by the regex. 取得字串中与正则式匹配的部分。 blog.sina.com.cn 6. Returns the regular expression pattern that was passed into the Regex constructor. 返回传入Regex构造函数的正则表达式模式。 msdn2.microsoft.com 7. The following code example uses the static Regex. Replace method to strip invalid characters from a string. 下面的代码示例使用静态Regex.Replace方法从字符串中抽出无效字符。 msdn2.microsoft.com 8. Part 1 introduces the notion of the regex and the PHP functions available to compare text to patterns and extract matches. 第1部分介绍了regex的概念和可用于比较文本与模式和提取匹配的PHP函数。 www.ibm.com 9. The regex operator | (vertical bar) is the alternation, so this|that matches either the string this or the string that. regex操作符|(竖线)表示备选项,因此this|that匹配字符串this或字符串that。 www.ibm.com 10. Finally, the regex man page, available on many UNIX systems, provides information on building POSIX regexps. 最后,很多UNIX系统上提供的regex手册页提供了有关构建POSIXregexp的信息。 www.ibm.com 1. Used by a Regex object generated by the CompileToAssembly method. 由CompileToAssembly方法生成的Regex对象使用。 msdn2.microsoft.com 2. Returns the options passed into the Regex constructor. 返回传入Regex构造函数的选项。 msdn2.microsoft.com 3. Includes all tables, stored procedures, functions, and views with the ability to exclude objects based on regex patterns. 包括所有表、存储过程、函数和视图,并能基于正则表达式来排除特定对象 www.infoq.com 4. This function divides the string at every point that matches the provided regex. 此函数将在匹配给定regex的每个点上划分字符串。 www.ibm.com 5. The capture operator is the parentheses, and the operator can appear anywhere in the regex. capture操作符是一些括号,并且操作符可以出现在regex中的任意位置。 www.ibm.com 6. Remove the question marks after the quote characters if you will use this regex to extract URLs. 如果你要使用本正则式析取URL,请删除引号后面的引号。 is.gd 7. Instances of MatchCollection are returned by the Regex. Matches method. MatchCollection的实例是由Regex.Matches方法返回的。 msdn2.microsoft.com 8. Atomic groups are special regex groups that are non-capturing. 最小组团是无捕捉的特殊正则表达式分组。 www.bing.com 9. To validate the format of an e-mail address, use the Regex class. 要验证电子邮件地址的格式,可使用Regex类。 msdn2.microsoft.com 10. When the regex engine matches an atomic group, it will discard backtracting positions that came with all tokens inside it. 当正则表达式的引擎匹配一个原子组时,它将忽略包含里面所有记号的回溯。 archive.cnblogs.com 1. However, if you use the s or m modifier, the regex engine treats the input differently. 但是,如果使用s或m修饰词,regex引擎将按照不同的方式处理输入。 www.ibm.com 2. You can concatenate and combine the primitives in Table 1 (and other operators) and use them in combination to build (very) complex regexes. 您可以连接和结合表1中的基本操作符(以及其他操作符)并进行组合来构建(非常)复杂的regex。 www.ibm.com 3. The regex then backtracks one character, letting the second A match the last one. 然后正则表达式回溯一个字符,让第二个A 匹配最后一个字符。 blog.sina.com.cn 4. This log regex adds three alternatives to the previous regex. 这条正则式在前一条的基础上增加了三种备选匹配项。 is.gd 5. Now I delve more deeply into regexes and look at a handful of advanced operators and recipes. 现在我将更深入地研究regex并查看一些高级操作符和处理方法。 www.ibm.com 6. All regex repetition operators are greedy . 所有的正则操作符都是贪婪的。 archive.cnblogs.com 7. Explains how to use the Regex class can be used to search strings. 解释如何使用可用的Regex类搜索字符串。 msdn2.microsoft.com 8. Each regex is represented by a match element. 每个正则表达式都由一个匹配元素表示。 www.ibm.com 9. The above is a much better alternative that will save the regex engine time and improve the code's efficiency. 上面的例子就成了更好的选择,它将节省正则引擎的时间并提高代码的效率。 wind-wood.blog.163.com 10. While there are still a few, limited advantages to regex , they are minor and it is not worth using in new code. 虽然相对于regex仍然有几个有限的优点,不过这些优点微不足道,不值得在新代码中使用。 www.ibm.com 1. It provides an excellent introduction to regex and has many useful examples. 它会提供regex的精彩介绍,并包含许多有用的示例。 www.ibm.com 2. Regexes can remember what's been matched with capture. Regex可以记住与capture匹配的内容。 www.ibm.com 3. As an example, let's say you want to match HTML tags, and you come up with the following regex. 例如,假设你想匹配的HTML标签,使用了下面的正则表达式。 blog.sina.com.cn 4. Another use of regex is formatting, or normalizing or improving, the readability of data. regex的另一个应用是格式化、规范化或提高数据的可读性。 www.ibm.com 5. More often, though, a regex is used to prove a match and to extract information about the match. 但是,regex更常用于检验匹配和提取关于匹配的信息。 www.ibm.com 6. The Regex class can throw exceptions when the pattern can't be parsed or the options are invalid. 无法分析模式或选项无效时,Regex类可能会引发异常。 blog.sina.com.cn 7. You can simplify once again with -i to reduce the regex to ^[bc]at. 您可以再次使用-i将regex简化为^[bc]at。 www.ibm.com 8. That manual page is included in MySQL source distributions, in the regex. 7 File under the regex directory. 该手册页面包含在MySQL源码分发版中,位于regex目录下的regex.7文件中。 mysql.crihan.fr 9. Get an array of all regex matches in a string. 将字串中所有的匹配保存到数组中。 blog.sina.com.cn 10. Given the purpose of ^ and $, you can find a blank line using the regex ^$ -- essentially, a line that ends immediately after it begins. 基于^和$的作用,您可以使用regex^$来查找空行(相当于在开始之后立即结束的行)。 www.ibm.com 1. Use the stylesheet in Listing 2 to validate the regex. 使用清单2中的样式表验证正则表达式。 www.ibm.com 2. When applied to a string composed of 10 As ( " AAAAAAAAAA " ), the regex starts by using the first A to match all 10 characters. 当应用在一个由10个A组成的字符串上(“AAAAAAAAAA”),正则表达式首先使用第一个A 匹配了所有10个字符。 blog.sina.com.cn 3. For example, both * (asterisk) and $ (dollar sign) are regex operators and also have special meaning to your shell. 例如,*(星号)和$(美元符号)都是regex操作符,并且对于您的Shell具有特殊的含义。 www.ibm.com 4. Read the PHP documentation to learn more about the POSIX regex function calls (see Resources). 要了解关于POSIXregex函数调用的更多信息,请阅读PHP文档(请参阅参考资料)。 www.ibm.com 5. The regex is wrapped across multiple lines in order to fit the page. 此表达式被拆分成多行是为了适合页面显示。 blog.sina.com.cn 6. If you want to test advanced features such as recursive patterns, please download another 'Regex Match Tracer 1. 2' 要测试反向预搜索、递归匹配等高级特性,请下载另外一个 www.regexlab.com 7. When import is at the beginning or the end of a string, the modified regex will fail. Thus, splitting this up into cases is required 当import是在一个字符串的开头或者结尾,那么修改后的正则表达式会失败,这就需要分情况考虑了 archive.cnblogs.com 8. Part of the Spirit framework internally uses the regular-expression library from Boost. After installation, check for the regex. h 部分Spirit框架在内部使用来自Boost的正则表达式库,在已安装的代码库中检查regex.h头文件。 www.ibm.com 9. Many additional text analysis components including word splitting, regex and sounds-like filters 多个新增的文本分析组件,包括分词、正则表达式过滤器和近似读音过滤器 www.infoq.com 10. Regex Match Tracer - Regular Expression Tool 正则表达式工具MatchTracer www.regexlab.com 1. Make your regexes portable with character classes 用字符类实现可移植的regex www.ibm.com 2. Comment with RegexBuddy's regex tree. RegexBuddy 的正则树的注释。 blog.sina.com.cn 3. Example of SQL statements using regex functions 使用regex函数的SQL语句示例 www.ibm.com |
||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。