• Also, because there is only one expression in the method body, we drop the braces and put the entire method definition on one line.

    而且,因为在方法的主体中只有一个表达式,我们也省略了括号,把整个方法的定义放到一行中。

    youdao

  • The return value of any function is the result of the last expression in that clause (in our examples there is only one line).

    任何函数的返回值都是子句(在我们的示例中只有一行)中最后一个表达式的结果。

    youdao

  • On the command line, the regular expression ACTS as an adjective — a description or qualifier.

    在命令行中,正则表达式的作用相当于形容词——一种描述或限定词。

    youdao

  • Lines 6-8 also won't parse. Since they are part of the expression that started on line 5, the compiler stopped after the first error.

    第6到8行无法解析。因为它们是第5行开始的表达式的一部分,编译器在遇到第一个错误之后就会停住。

    youdao

  • You can use a simple regular expression to specify that you want to find a line containing one word followed by another.

    可以使用简单的正则表达式指定寻找包含某一单词而且后面有另一个单词的行。

    youdao

  • When an expression looks cleaner on one line, rather than split into multiple lines by assigning values to different variables.

    与把值分配给不同变量而将表达式分成多行相比较,将一个表达式放在一行上看着更整齐时。

    youdao

  • If you want maximum impact from your subject's eyes and expression, line them up with her nose.

    如果你想让模特的眼睛和表情表现最大的冲击力,让她们将眼睛放整齐的与鼻子垂直。

    youdao

  • If the line matches the regular expression, then you print out that line.

    如果该行与正则表达式匹配,则打印该行。

    youdao

  • A regular expression can filter for a specific location, such as the start or end of a line and the beginning and end of a word.

    正则表达式可以过滤特定的位置,例如行的开始或结束,以及单词的开始和结束。

    youdao

  • Looking at the code, you can see that the regular expression pattern was set to match a line that contained 20-29%.

    查看该代码,可以看到正则表达式模式被设置为匹配某个包含20- 29%的行。

    youdao

  • The variables specified in the condition must be in scope at whatever line you set the breakpoint on, otherwise the expression wouldn't make sense!

    条件中指定的变量必须在设置了断点的行中,否则表达式就没有什么意义!

    youdao

  • I look for a regular expression that makes the pattern I am looking for, and then print the line of the disk report with a special message that gets injected.

    我寻找构成所寻找模式的正则表达式,然后使用注入的特殊消息来打印该磁盘报告行。

    youdao

  • The first example, written in PHP, will capture the output of the shell command "df -h," place the output into an array, and then examine each line of output against a regular expression.

    采用PHP编写的第一个示例将捕获Shell命令“df—h”的输出,将输出放在一个数组中,然后根据一个正则表达式检查输出的每一行。

    youdao

  • Which, by default, looks for names that include the word Test or test, but a different regular expression can be provided on the command line or a configuration file.

    (在默认情况下,寻找包含单词Test或 test 的名称,但是可以通过命令行或配置文件提供不同的正则表达式)。

    youdao

  • The new regular expression in the second line matches any string that contains MSIE or starts with Lynx.

    第二行中的新正则表达式匹配任何包含MSIE或以Lynx开头的字符串。

    youdao

  • When a statement or expression is too long for one line, Scala can usually infer when you are continuing on to the next line, as shown in this example.

    当一个声明或者表达式太长,一行不够的时候,Scala通常可以推断你在什么时候要在下一行继续,就像这个例子中一样。

    youdao

  • The first part of the expression in Line 14 is used to check for a value of None.

    第14行中表达式的第一部分用来检查none值。

    youdao

  • This file name passes the filter because the regular expression matches - up to the line end, the rest does not matter. The correct expression should read.

    这个文件名能通过这个过滤器因为这个正则表达式能一直匹配到行尾,其余的都不重要。

    youdao

  • The first line defines a lambda expression and binds it to the symbol total.

    第一行代码定义了一个lambda表达式并将其和total符号绑定到一起。

    youdao

  • The -e option lets you specify a Perl expression (a program, actually) on the command line.

    e选项允许您在命令行中指定一个Perl表达式(实际上是一个程序)。

    youdao

  • Notice, in line 60, the XPath expression as argument of SUM function.

    注意第60行中作为SUM函数参数的XPath表达式。

    youdao

  • This USES the regular expression module (re) to create a compiled regular expression from the regular expression the user enters in line 8.

    它使用正则表达式模块(re),由用户在第8行输入的正则表达式创建已编译的正则表达式。

    youdao

  • The line feed\"entry" is an XPath-like expression.

    feed\"entry"行是一个类XPath表达式。

    youdao

  • E - the next item on the line is an expression that the Scilab engine must execute.

    e—此行的下一项是Scilab引擎必须执行的一个表达式。

    youdao

  • The return value expression must start on the same line as the return keyword in order to avoid semicolon insertion.

    如果返回表达式,则表达式应与return关键字在同一行,以避免误加分号错误。

    youdao

  • The listing shows the variable "diff" being calculated on line 6, which we can re-evaluate by supplying the "diff" expression to print as 'print no1 - no2'.

    清单显示了第 6行计算的变量 "diff",我们可以打印 "diff"表达式(使用'printno1-no2' 命令),来重新估计这个变量。

    youdao

  • You can specify a different regular expression either at the command line with the -m option, or by setting the option in your project's.noserc file.

    通过在命令行上使用- m选项或在项目的.noserc文件中设置这个选项,可以指定另一个正则表达式。

    youdao

  • The for loop then iterates through each line, matching it against the regular expression in ASSIGN_LINE using the built-in matchlist() function

    然后,for 循环遍历每个行,使用内置的 matchlist() 函数根据 ASSIGN_LINE 中的正则表达式匹配它

    youdao

  • The first line tells devfsd to perform the MKOLDCOMPAT action when any device (.* is a regular expression that will match any device) is registered with the kernel.

    第 1行告诉devfsd ,当有内核中注册任何设备(.*是表示匹配 任何设备的正则表达式)时,执行MKOLDCOMPAT 操作。

    youdao

  • The first line tells devfsd to perform the MKOLDCOMPAT action when any device (.* is a regular expression that will match any device) is registered with the kernel.

    第 1行告诉devfsd ,当有内核中注册任何设备(.*是表示匹配 任何设备的正则表达式)时,执行MKOLDCOMPAT 操作。

    youdao

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

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

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