• Common regexp modifiers are provided in Table 1.

    表1给出了常用的regexp修饰符。

    youdao

  • Suppose that you always use JDK 1.4's built-in regexp classes.

    假定您一直在使用JDK 1.4的内置regexp类。

    youdao

  • You can test the regexp you've just built, as shown in Listing 13.

    现在可以对刚刚构建的regexp 进行测试,如清单13 中所示。

    youdao

  • But which characters exactly on those lines of input did the regexp match?

    但具体是这些行中的哪些字符与regexp匹配呢?

    youdao

  • You can also do regexp highlighting in sed, the stream editor. The sed command.

    还可以在sed(流编辑器,stream editor)中进行regexp突出显示。

    youdao

  • The core of this tag relies on Apache's regexp library to validate input values.

    这个标签的核心依赖于Apache的regexp库对用户输入的值进行有效性验证。

    youdao

  • A lot of tools and methods are available on UNIX systems for regexp building.

    UNIX系统上提供了大量的工具和方法来构建regexp。

    youdao

  • With this Jacl version, the regexp command supports only TCL 8.0 regexp command syntax.

    通过这个版本的Jacl,regexp命令仅仅支持tcl 8.0 regexp命令语法。

    youdao

  • However, if the regexp itself is not fixed, then the compilation process cannot be skipped.

    但是,如果regexp本身不固定,则不能忽略编译过程。

    youdao

  • Up till now, we've taken a look at line addresses, line range addresses, and regexp addresses.

    目前为止,我们已经看到了行地址、行范围地址和regexp 地址。

    youdao

  • The team has spent time and money to learn and rewrite the code so it USES the regexp library.

    团队已花费时间和财力来学习并重新编写代码,以使它使用regexp库。

    youdao

  • In the regexp world, there are some compiler options supported by only certain implementations.

    在regexp领域中,一些编译器选项仅被某些实现支持。

    youdao

  • In programming, a regular expression is written in a formal language, also known as regex or regexp.

    在编程中,正则表达式是用一种形式语言编写的,也称为regex或regexp。

    youdao

  • It outputs a regexp for one of several common patterns that are given as arguments, as listed in Table 2.

    它可以输出作为参数给出的多个常见模式之一的regexp,如表2中所示。

    youdao

  • I start with a very simple regexp: Imagine that the text you have to parse is just the name of a person.

    我从一个非常简单的regexp开始:假定您必须要解析的文本只是人名。

    youdao

  • Input files contain a regexp to test on a single line followed by any number of lines of data to test.

    输入文件中包含用于测试单行(其后跟着多行待测试数据)的regexp。

    youdao

  • When building a regexp, it helps to be able to see what strings the pattern matches in the context of a data set.

    构建regexp时,这样可帮助在数据集上下文中查看模式与哪些字符串匹配。

    youdao

  • 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中所示。

    youdao

  • For example, grep, sed, and other tools like them have man pages that describe their regexp syntax and give examples.

    例如,grep、sed和其他类似的工具都提供了手册页,描述其regexp语法并提供相关示例。

    youdao

  • The isearch-forward-regexp and isearch-backward-regexp functions are typically bound to the M-S-s and M-S-r keystrokes.

    isearch-forward-regexp和 isearch-backward-regexp功能通常绑定到 M-S-s 和 M-S-r 键盘输入。

    youdao

  • 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(如GNU grep )可在使用 --color选项时用颜色突出显示regexp,如 图 1 中所示。

    youdao

  • 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 进行此工作。

    youdao

  • As you go through the procedure, txt2regex builds the regexp for each of the three chosen applications and displays them near the top of the screen.

    在进行此工作的过程中,txt2regex将为所选择的三个应用程序分别构建regexp,并将其显示在屏幕顶部。

    youdao

  • These various regexp implementations differ to some degree in the finery of their details, but the principles for learning to build regexps are common for all.

    这些不同的regexp实现在其细节方面存在一些差别,但构建regexp的原则全部都是通用的。

    youdao

  • This is because of GWT's reliance on the host environment's underlying regexp mechanism and is an example of the trouble that imperfect abstractions can land you in.

    这是因为GWT对宿主环境底层的正则表达式机制的依赖也是不完美抽象所带来问题的一个例子。

    youdao

  • The — only-matching option (also -o) changes grep's behavior so that it outputs not the entire lines containing a match to the regexp but only those matches themselves.

    only -matching选项(或-o)可更改grep的行为,使其不输出包含regexp匹配项的整个行,而仅输出匹配项本身。

    youdao

  • But as you build intricate regexps and have large datasets or input files, it can become considerably more difficult to know which string or strings a regexp might match.

    但在构建复杂的regexp而且具有大型数据集或输入文件时,要知道regexp可能匹配哪些字符串可能就会困难得多。

    youdao

  • If you're a developer who works on several applications, this is a good way to get a quick summary of the regexp rules for a particular application, as shown in Listing 14.

    如果您是使用多个应用程序的开发人员,则可以通过此方法快速获得特定应用程序的regexp规则摘要,如清单14中所示。

    youdao

  • Most important is that, when you work with regexp libraries, you don't need to compile patterns every time. Instead, you can compile them and reuse the respective instances.

    最重要的是,当您使用regexp库时,不需要每次都编译模式,而是编译它们并重用各自的实例。

    youdao

  • To build a regexp for one or more of txt2regex's supported applications, give the names of those applications in a comma-delineated list as an argument to the — prog option.

    为了构建适用于一个或多个txt2regex支持的应用程序的regexp,可以将这些应用程序的名称以逗号分隔的列表的形式作为——prog选项的参数提供。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定