They specify a pattern, and the command that immediately follows a regular expression address will only be applied to a line if it happens to match this particular pattern.
它们指定一种模式,紧跟在规则表达式地址之后的命令将仅适用于正好与该特定模式匹配的行。
Building an SQL JOIN command starts as a regular SQL SELECT command, but instead of specifying fields from just one table, you can specify fields from more than one table.
构建SQLJOIN命令时,开始仍是常规的SQLSELECT命令,但这里不是仅指定来自一个表的字段,而是指定来自多个表的字段。
The best option to exit the debugger is always to abort the command and return to the regular REPL window.
退出调试器的最佳选项始终是中止命令并返回到正常的REPL窗口。
On the command line, the regular expression ACTS as an adjective — a description or qualifier.
在命令行中,正则表达式的作用相当于形容词——一种描述或限定词。
For regular people like us, however, we don't have on-the-job training to force us to command our feelings so easily.
但是对于我们一般人来说,我们并没有职业培训去促使我们能轻易地控制我们的情绪。
At the command line, you'll find many ways to use regular expressions.
在命令行中,可以采用许多方法使用正则表达式。
You can use this script from your crontab list for regular processing or run as required from the command line.
您从crontab列表使用此脚本进行常规的处理,也可以根据需要从命令行运行该脚本。
The following command encodes the text from Figure 1 when stored as regular text in the acmesrc.txt file and stores it in an image file called acmeqr.png.
如下的命令编码作为常规文本存储于acmesrc. txt文件内的来自图1的文本,并将其存储在一个名为acmeqr . png的图像文件。
You can test that you have version 0.5.x by issuing this command in the IPython, or regular Python, interpreter.
您可以测试自己的版本是否为 0.5.x,方法是在IPython或普通Python解释器中发起以下命令。
The command searches your entire home directory (find /home/joe) to find all regular files (-type f) with the suffix .txt, and then runs the grep command to search for the string Monthly Report.
该命令将搜索整个home目录 (find /home/joe)以查找所有的常规文件 (-typef) 中具有后缀 .txt 的文件,然后运行grep 命令来搜索字符串MonthlyReport。
Many of these commands are similar to regular AIX commands (for example, lsdev) but use different flags and command structures (for example, lsdev -dev).
其中许多命令与常规的AIX命令相似(比如lsdev),但是使用不同的标志和命令结构(比如lsdev—dev)。
If you want snapshots taken at regular intervals, specify the intervals in milliseconds following the -options command.
如果您希望每隔一定时间拍摄快照,请在-options指令后以毫秒为单位指定间隔时间。
You will need to run this command from a regular shell prompt, not the interactive command Line Processor.
您将必须在一般提示符下运行该命令,而不是在有交互性的DB 2命令行处理器下。
Listing 12 shows some of the basic regular expressions used with the grep command.
清单12显示了与grep命令一起使用的一些基本正则表达式。
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 的名称,但是可以通过命令行或配置文件提供不同的正则表达式)。
Using powerful tools like sed and Perl, and the magic of regular expressions, you can easily do complex text processing tasks directly on the UNIX command line.
使用像sed和Perl这样功能强大的工具,以及神奇的正则表达式,您可以直接通过UNIX命令行轻松地完成复杂的文本处理任务。
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”的输出,将输出放在一个数组中,然后根据一个正则表达式检查输出的每一行。
Luckily, you have the sed command (Stream EDitor), which provides powerful regular expression matching and replacement.
幸运的是,您可以使用sed命令(StreamEDitor),它提供了功能强大的正则表达式匹配和替换。
Listing 1 applies the regular expression to a command-line parameter.
清单1将正则表达式应用到命令行参数中。
Regular expressions are extremely powerful; the number and kind of operators and techniques you can command are enormous.
正则表达式非常强大;可供使用的操作符的数量庞大,种类繁多。
To keep things simple, let's suppose that you want to run the command shown in Listing 1 on a regular basis.
为了简单,假设希望定期运行清单1所示的命令。
You can use the regular find command if you don't have Perl on your system.
如果系统中没有Perl,则可以使用常规的查找命令。
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文件中设置这个选项,可以指定另一个正则表达式。
You can search for strings in vi using the / command, specifying the pattern to match either as a literal string or as a regular expression.
在vi 中,可以使用 /命令搜索字符串,这需要以字面字符串或正则表达式的形式指定要匹配的模式。
After the administrator enables the Usershare feature, regular users use a command-line tool to export directories of their choosing.
在管理员启用Usershare特性之后,一般用户即可使用命令行工具导出他们选择的目录。
Regular supervisors do not have command over SWAT team members once SWAT related activities (training, call out... etc) take place.
日常工作内的上司没有权利命令特警队员在特警相关职务活动(培训,呼叫…等)。
From the regular user command line interface log in as the superuser.
从一般的使用者指令行介面,登录当做超级使用者。
From the regular user command line interface, log in as the superuser.
从一般的使用者指令行介面,登录当做超级使用者。
If any attempt is made to apply the methods of command in regular warfare to guerrilla warfare, its great flexibility will inevitably be restricted and its vitality sapped.
如果企图拿正规战争的指挥方法施之于游击战争,必然地要束缚游击战争的高度活泼性,而使游击战争毫无生气。
A company commander could give command to any regular officer over any given squad or platoon.
一名连指挥官有权命令任何班或排的正式军官。
应用推荐