单词 | regexp | ||||||||||
释义 | regexp
更多释义 收起释义 例句释义: 正则表达式,正则表达式对象,创建正则表达式对象 1. When building a regexp, it helps to be able to see what strings the pattern matches in the context of a data set. 构建regexp时,这样可帮助在数据集上下文中查看模式与哪些字符串匹配。 www.ibm.com 2. The next regexp you used in the Show only the matches, not the lines section was for a single word containing "th" anywhere in the word. 仅显示匹配部分,而不显示行部分中使用的另一个regexp用于在单词中任何位置包括“th”的单个单词。 www.ibm.com 3. I start with a very simple regexp: Imagine that the text you have to parse is just the name of a person. 我从一个非常简单的regexp开始:假定您必须要解析的文本只是人名。 www.ibm.com 4. In programming, a regular expression is written in a formal language, also known as regex or regexp. 在编程中,正则表达式是用一种形式语言编写的,也称为regex或regexp。 www.ibm.com 5. However, if the regexp itself is not fixed, then the compilation process cannot be skipped. 但是,如果regexp本身不固定,则不能忽略编译过程。 www-128.ibm.com 6. The regexp you've just built won't match them properly, as you'll see by showing only the matches (see Listing 11). 刚刚构建的regexp将无法对其进行恰当的匹配,如仅显示匹配项中所示(请参见清单11)。 www.ibm.com 7. Methods, the new approach implies delegating the core of the parser logic and replacing it with a regexp library. 方法的多行代码,它意味着将解析器逻辑的核心委托出去,并替换为regexp库。 www-128.ibm.com 8. Your system might have a lot more documentation, including man pages, on building and using regexps than you might realize. 您的系统可能提供了很多有关您可能实现的regexp的构建和使用方面的文档(包括手册页)。 www.ibm.com 9. to exit the program; the regexps for the various applications will remain listed on your terminal. 退出程序;适用于各个应用程序的regexp将继续显示在终端上。 www.ibm.com 10. Say you want to output all the words in the test file containing the string th, and you've built the regexp shown in Listing 5 to do that. 假定希望输出测试文件中包含字符串th的所有单词,则构建清单5中所示的regexp进行此工作。 www.ibm.com 1. However, developers need to know about regexp syntax to understand how such code works. 但是,开发人员需要了解regexp语法以理解这些代码是如何工作的。 www.ibm.com 2. This appendix is a summary, with examples, of the special characters and constructs that can be used in MySQL for REGEXP operations. 在本附录中,归纳了在MySQL中可用于REGEXP操作的特殊字符和结构,并给出了一些示例。 mysql.crihan.fr 3. Regexps are also popularly used in the Perl language, but Perl regexps are different from those you'd build using grep. regexp在Perl语言中也很常用,但Perlregexp与使用grep构建的regexp不同。 www.ibm.com 4. It's been designed following the approach just discussed and supports decoupling between the regexp library and the code that uses it. 已将它设计成遵循刚刚讨论的方法,并且它在regexp库和使用该库的代码之间支持去耦。 www.ibm.com 5. Beyond that, it also described the advantages of using an additional layer to decouple client code from the regexp engine itself. 除此之外,本文还描述了使用附加层去除客户机代码与regexp引擎本身之间的耦合的好处。 www-128.ibm.com 6. The --showinfo option just outputs a brief summary of information about building regexps for a particular program or language. showinfo选项可直接输出关于构建特定程序或语言的regexp的信息的简短摘要。 www.ibm.com 7. Now that you've selected exactly what you want, you can see the desired regexps for all three applications in Figure 4. 现在已经选择了自己所希望的准确内容,就应该可能看到所有三个应用程序所需的regexp,如图4中所示。 www.ibm.com 8. MySQL uses the extended version to support pattern-matching operations performed with the REGEXP operator in SQL statements. MySQL采用了扩展的版本,以支持在SQL语句中与REGEXP操作符一起使用的模式匹配操作。 mysql.crihan.fr 9. If your shell supports escape sequences, you can highlight all the regexps in the context of the file. 如果您的外壳支持转义序列,则可以在文件的上下文中突出显示所有regexp。 www.ibm.com 10. Up till now, we've taken a look at line addresses, line range addresses, and regexp addresses. 目前为止,我们已经看到了行地址、行范围地址和regexp地址。 www.ibm.com 1. It outputs a regexp for one of several common patterns that are given as arguments, as listed in Table 2. 它可以输出作为参数给出的多个常见模式之一的regexp,如表2中所示。 www.ibm.com 2. Some of the newer versions of grep (such as GNU grep) highlights the regexp in color when you use the --color option, as shown in Figure 1. 一些较新版本的grep(如GNUgrep)可在使用--color选项时用颜色突出显示regexp,如图1中所示。 www.ibm.com 3. The properties of the RegExp object are not available when running in fast mode, the default for JScript. 以快速模式(JScript的默认模式)运行时,RegExp对象的属性不可用。 msdn2.microsoft.com 4. Because the regexp only matches dollar amounts that begin with a -, our branch will only happen if we happen to be dealing with a debit. 因为规则表达式只与以-开始的美元金额匹配,所以,该分支只在恰巧处理借款时才发生。 www-128.ibm.com 5. The txt2regex script is an interactive, cross-platform regexp "wizard" built for the Bash shell. txt2regex脚本是针对Bash外壳构建的跨平台的交互型regexp“向导”。 www.ibm.com 6. Input files contain a regexp to test on a single line followed by any number of lines of data to test. 输入文件中包含用于测试单行(其后跟着多行待测试数据)的regexp。 www.ibm.com 7. outputs a copy of the input with all instances of regexp enclosed in brackets. 将输出输入内容的副本,并标明括号中包含的regexp的所有实例。 www.ibm.com 8. The core of this tag relies on Apache's regexp library to validate input values. 这个标签的核心依赖于Apache的regexp库对用户输入的值进行有效性验证。 www.ibm.com 9. regexp: test checks whether a string entirely matches a regular expression pattern. test将检查字符串是否与正则表达式模式完全匹配。 www.ibm.com 10. With no options, txt2regex defaults to build regexps for the perl, php, postgres, python, sed, and vim applications. 在没有选项的情况下,txt2regex会缺省为perl、php、postgres、python、sed和vim应用程序构建regexp。 www.ibm.com 1. Note the use of the Regexp: : Common module, an indispensable resource for any Perl programmer today. 请注意Regexp::Common模块的使用,它是当今任何Perl程序员都必不可少的资源。 www.ibm.com 2. "Hone your regexp pattern-building skills" (developerWorks, July 2006) describes more useful ways to use grep. “磨练构建正则表达式模式的技能”(developerWorks,2006年7月)描述了使用grep的更有用的方法。 www.ibm.com 3. It'll become specific for your regexp later. 在后来的regexp中,它将变得具体。 www.ibm.com 4. You can test the regexp you've just built, as shown in Listing 13. 现在可以对刚刚构建的regexp进行测试,如清单13中所示。 www.ibm.com 5. The list of regexps will remain on your terminal. regexp列表将继续显示在终端上。 www.ibm.com 6. This regexp will match the entire contents of the three lines we just appended to the pattern space. 这个规则表达式将与刚刚附加到模式空间的三行的全部内容匹配。 www-128.ibm.com 7. regexp: replace replaces substrings that match a regular expression pattern. replace将替代匹配正则表达式模式的子字符串。 www.ibm.com 8. regExp : Regular expression to validate the field. regExp:用于检验字段的正则表达式。 www.ibm.com 9. But which characters exactly on those lines of input did the regexp match? 但具体是这些行中的哪些字符与regexp匹配呢? www.ibm.com 10. So, this regexp is equivalent to: Take the first text that precedes a space. 因此,该regexp相当于:取空格前的第一段文本。 www.ibm.com 1. I began by using Perl5 regular expressions (regexps) occasionally. 开始的时候,我偶尔会使用Perl5正则表达式(regexp)。 www.ibm.com 2. Finally, the Regexp class has been totally rewritten in this release. 最后要说的是,在这个版本中,我们完全重写了Regexp类。 www.infoq.com 3. Consider the four-line input text of Listing 1 and the trivial regexp t[a-z] that matches a two-character pattern. 以清单1的四行输入文本和匹配双字符模式的小型regexpt[a-z]为例。 www.ibm.com 4. If the pattern space matches the regexp, sed will branch to the fixnegs label. 如果模式空间与规则表达式匹配,sed将分支到fixnegs标号。 www-128.ibm.com 5. I raise the same objection to the recommendations for using Object literals, RegExp literals, and so forth. 我还对推荐使用Object字面值、RegExp字面值等等都提出相同的异议。 www.infoq.com 6. For example, you can use this to get a ready regexp for any valid hour in military time, as shown in Listing 15. 例如,你可以使用此工具来获取用于军事时间中任意有效时间的现成regexp,如清单15中所示。 www.ibm.com 7. You see that one "ith" shows that the regexp didn't match uppercase letters. 其中有一个“ith”,这表明使用的regexp未匹配大写字母。 www.ibm.com 8. With this Jacl version, the regexp command supports only tcl 8. 0 regexp command syntax. 通过这个版本的Jacl,regexp命令仅仅支持tcl8.0regexp命令语法。 www.ibm.com 9. Notice that you have to quote the regexp now. 请注意,现在必须给regexp加上引号。 www.ibm.com 10. I'll explain step by step how to extract the information using this regexp. 我将一步一步地说明如何使用该regexp来抽取信息。 www.ibm.com 1. If your terminal supports color, this is a useful way to view exactly which strings your regexp is matching. 如果您的终端支持彩色显示,则这样可非常方便地查看regexp具体匹配了哪些字符串。 www.ibm.com 2. Using these tools and techniques on a UNIX system is probably the best way to learn to build complex regexps. 在UNIX系统上使用这些工具和技术可能是了解如何构建复杂regexp的最佳方法。 www.ibm.com 3. In the regexp world, there are some compiler options supported by only certain implementations. 在regexp领域中,一些编译器选项仅被某些实现支持。 www.ibm.com 4. For example, grep, sed, and other tools like them have man pages that describe their regexp syntax and give examples. 例如,grep、sed和其他类似的工具都提供了手册页,描述其regexp语法并提供相关示例。 www.ibm.com 5. The regexp able to process such an input format is just 能处理这样的输入格式的regexp只是 www-128.ibm.com 6. A regular expression for the REGEXP operator may use any of the following special characters and constructs 对于REGEXP操作符,正则表达式可以使用任何下述特殊字符和结构 mysql.crihan.fr 7. To remove files with names matching regular expression regexp from directory dir recursively 批量删除符合正则表达式的文件 blog.guoshuang.com 8. RegExp Sample: Demonstrates ATL Regular Expression Classes RegExp示例:演示ATL正则表达式类 msdn2.microsoft.com 9. Pattern: a RegExp object used to match the elements, 用于匹配元素的正则表达式对象, blog.csdn.net 10. You had used regexps for egrep, sed, and perl; now try building it for plain grep 前面已经使用了适用于egrep、sed和perl的regexp,现在我们将尝试构建适用于普通grep的regexp。 www.ibm.com 1. DEELX - Regexp - Regular Expression Engine - Download DEELX-Regexp-正则表达式引擎-下载 www.regexlab.com 2. DEELX - Regexp - Regular Expression Engine - Examples DEELX-Regexp-正则表达式引擎-示例 www.regexlab.com 3. DEELX - Regexp - Basic Pattern Syntax - Common Characters DEELX-Regexp-正则表达式基本语法-普通字符 www.regexlab.com 4. DEELX - Regexp - Basic Pattern Syntax - Character Sets DEELX-Regexp-正则表达式基本语法-字符集合 www.regexlab.com 5. The predefined RegExp object has static properties that are set whenever any regular expression is used, 无论何时被调用的预设置的正则表达式拥有静态的属性, acm.hrbeu.edu.cn 6. You can also do regexp highlighting in sed, the stream editor. The sed command 还可以在sed(流编辑器,streameditor)中进行regexp突出显示。 www.ibm.com 7. Start txt2regex and specify regexps for grep, sed, and Emacs 启动txt2regex并指定构建用于grep、sed和Emacs的regexp www.ibm.com 8. You can use a regexp this way 可以如下使用regexp www-128.ibm.com |
||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。