这并不替换与模式匹配的文本——它只是在第一个包含该模式的行后面添加文本。
This doesn't replace the text matched by the pattern — it only adds the text after the first line that contains that pattern.
您还可以将包含某个模式的整个行替换为某些新文本。
You can also replace an entire line that contains a pattern with some new text.
在本例中,特殊替换形式对于每一行来说都将是相同的printf,因此它将在第二个for循环开始之前被预先存储到FORMATTER变量中。
In this example, the special replacement form will be the same printf for every line, so it is pre-stored in the FORMATTER variable before the second for loop begins.
将CICS - renderingset应用到应用程序中的其他屏幕,这些屏幕无需将第13行文本替换为一个“Submit”按钮。
Also apply CICS-renderingset to other screens in your application that do not require text replacement at line 13 with a Submit button.
对于Cancel按钮,要删除现有代码并用submit脚本中的最后一行代码替换它。
For the Cancel button, you want to remove the existing code and replace it with the last line from the Submit script.
简化对OpenXML文档中各种部件、以及其它现有API的访问(例如:可以通过一行代码获得或替换一个部件)。
Simple access to the parts within an Open XML document, relative to other existing APIs (example: one line of code to retrieve or replace a part).
行08到11用字母的语音代码替换单词里的每个字母。
Lines 08 to 11 replace each letter in the word with its phonetic code.
例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。
Editing files, for instance, can be a simple one-liner if you want to replace one word with another.
在DB 2 9.7中,行压缩(也称为深度压缩)通过把跨行重复出现的值模式替换为更短的符号字符串来压缩数据行。
In DB2 9.7, row compression, also referred to as deep compression, compresses data rows by replacing patterns of values that repeat across rows with shorter symbol strings.
注意,可以组合使用多个替换操作符,见脚本的最后一行。
Note that you can combine several substitution operators, as shown in the last line of the script.
在以下示例中,第2行的文本被替换为新的文本行。
In the example below, the text at line 2 is replaced with new line of text.
换药这一行为在大多数州的法律中都有明确规定,一般被称为“治疗替换”。
Yet the practice of swapping out medications is perfectly legal in most states.
首先删除47 - 49行并替换为清单10中的代码。
Begin by removing lines 47-49 and replace them with the code in Listing 10.
在第一个脚本中,我们使用s(替换)命令来将每一行中的小写‘a’替换为大写。
In the first one, we use the s (substitute) command to substitute an upper case for a lower case 'a' on each line.
所有留下的这些行将会删除其原始的行组,用这些积累下来的唯一行来替换它(通过一个append )。
All that remains is to delete the original set of lines and replace it (via an append ) with these accumulated unique lines.
UpdateTimestamp()函数,通过专门将替换的范围限制在'[和 ']之间,在每个正在被编写的代码行上执行一个替代(s/.../.../),像这样:'[,']s/.../.../。
The UpdateTimestamp() function performs a substitution (s/.../.../) on every line being written, by specifically limiting the range of the substitution to between '[ and '] like so: '[,']s/.../.../.
点击new添加一个新行,然后输入名称、缩写、替换的缩写和摘要。
Click new to add a new row, then type in name, abbreviation, alternative abbreviation, and abstract.
用以下代码替换原来代码中的9 - 11行。
替换表格中的每一行的背景颜色。
这个过程只是将传递到strcmp的参数替换到一行汇编代码中。
This was done by simple substitution of the arguments passed to STRCMP into a line of assembly code.
理想情况下,要重新格式化每一行,AlignAssignments将使用内置的substitute函数,并使用经过printf重新整理后的文本替换运算符之前的所有内容。
Ideally, in order to reformat each line, AlignAssignments would use the built-in substitute function, and replace everything up to the operator with a printf'd rearrangement of that text.
查找以单词“users”开头的行,并使用组成员所需的属性名称替换其中的第三个字段。
Find the line that starts with the word "users", and replace the third field with the desired attribute name for group members.
关于占位符替换的一点说明:Velocity把任何不能识别的引用作为普通文本打印,如清单6中下面突出显示的两行(蓝色和红色)所示。
Now, a word about placeholder substitution: Velocity will print any unrecognized reference as plain text, as illustrated by the next two bold lines in Listing 6.
UPDATE语句的set子句用一个新文档替换给定行中的现有文档。
The set clause of the UPDATE statement replaces the existing document in a given row with a new document.
在原始persistence . xml文件中,需要使用清单12中的内容替换这一行。
In the original persistence.xml file, it was necessary to replace the line with the contents of Listing 12.
在第2行,程序员认为他已经用p替换了字符串中的所有b。
At line 2, the programmer thought he'd replaced all of the b's in the string with p's.
例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。
Editing files, for instance, can be a simple one - liner if you want to replace one word with another.
类型替换的第一个实例在输出的第4和第5行,里面指定了ArrayList实例中值的类型。
The first instance of type substitution is in the fourth and fifth lines of the output, where the types of values in the ArrayList instances are specified.
一旦使用后边的两行完成了这个步骤,可以使用把 ati-xconfig替换成 nvidia-xconfig 的方法来达到同样的目的。
Once this step is complete use the latter two lines, replacing nvidia-xconfig with ati-xconfig to achieve the same result.
当从GSP 中发送出WML 时,切记要将默认的MIME类型text/html 替换为 text/vnd.wap.wml,如清单1 中的第一行所示。
When you send out WML from a GSP, you must override the default MIME type from text/html to text/vnd.wap. wml, as in the first line of Listing 1.
应用推荐