At line 2, the programmer thought he'd replaced all of the b's in the string with p's.
在第2行,程序员认为他已经用p替换了字符串中的所有b。
Notice that the actual form is stored in the String form variable after the class declaration.
注意,实际的表单保存在类声明之后的Stringform变量中。
If a complete match is found at the current position in the string, the regex declares success.
如果在字符串的当前位置上发现一个完全匹配,那么正则表达式宣布成功。
If there is more than one format sequence in the string, the second argument has to be a tuple.
如果格式化序列有一个以上了,那么第二个参数就必须是一个元组了。
So now I could ask you a simple question: what is the acceleration and what is the tension in the string?
再问个简单的问题:,加速度和绳子的张力,都是多少?
Within in the string, you can use as many single and double quotation marks as you like (see Listing 4).
在该字符串中,您可以使用任意多的单引号和双引号(参见清单4)。
End of lines do not need to be escaped when using triple-quotes, but they will be included in the string.
三重引号中的字符串在行尾不需要换行标记,所有的格式都会包括在字符串中。
At the dead end she retraces her path, reeling in the string, until she reaches the previous intersection.
到达死胡同时,她按原路返回,在把线绕上,直到到达前一个交汇点。
This helper method simply replaces any instances of ~ in the string with the value of the application's path.
此helper方法只替换具有应用程序路径值的字符串中的所有~实例。
The input string data to string functions may have wrong or invalid characters in the string that it is supplied with.
字符串函数的输入字符串数据可能拥有源字符串中的一些错误字符或无效字符。
Only single-character options are accepted; each character in the string represents an option that is known to the program.
只能接受单个字符的选项;字符串中的每个字符代表程序已知的一个选项。
The MatchNode class wraps an individual match in the string while tracking its position within the set of matches returned.
跟踪各个匹配在返回的匹配集中的位置时,matchnode类在字符串中封装各个匹配。
Therefore, range checking for characters in the string as well as bounds checking of the string sequence is done at marshal time.
因此,在编译过程中要进行字符串中的字符范围检查和字符序列的越界检查。
For each script in the array, you create the worker by simply passing in the string that specifies the location of the worker's script.
对于这个数组中的每个脚本,只需传递进指定worker脚本位置的那个字符串就可以创建worker。
The data in the string is product-specific, and is used for passing information needed for authentication, such as user IDs and passwords.
字符串中的数据是特定于产品的,并用于传递身份验证所需的信息,如用户ID和密码。
You'll use a named template to handle this; the named template will invoke itself until all of the letters in the string have been processed.
可以使用已命名的模板处理它;已命名的模板会调用它本身直到处理完字符串中所有的字母为止。
By providing a schema or a table name in the string value, you can easily group all SQLs using a certain schema or table into their own packages.
通过在字符串值中提供架构或表名称,可以轻松使用数据包的某一架构或表分组所有SQL。
The value of the resource_directory property USES a defined system property of user.dir, along with the user's name included in the string value.
resource_directory属性的值使用一个已定义的系统属性user . dir,外加字符串内包含的用户名称。
And writing a simple SQL User Defined Function (UDF) that USES dynamic SQL to convert the formula passed in the string and calculate the value.
并编写一个简单使用动态sql的SQL用户定义函数(UDF),转换字符串中传入的公式并计算值。
Figure 4 shows a search for "a", the actual character position of "a" is 2 but the output is 3 because there is a multi-byte character in the string.
图4展示了对“a”的搜索,“a”的实际字符位置是2,而输出的位置是3,原因在于字符串中有多字节字符。
Small angles, and we discussed quantitatively how small you would like to allow, and also the mass has to be exclusively in here and not in the string.
小角度,我们,从数量上已讨论过,允许的角度范围大小,重物必须,也只能在这里,不在绳子上。
When you click OK, Visual Configuration Explorer searches for all property names that end in the string "heapsize" and returns a search results view (Figure 5).
单击ok后,VisualConfigurationExplorer将搜索所有以字符串“heapsize”结尾的属性名,并返回搜索结果视图(图5)。
The call to map walks through each value, aliases it to v: val, evaluates the expression in the string, and replaces the value with the result of that expression.
调用map可以遍历各个值,将其作为别名赋给v:val,在字符串中计算表达式,并用表达式结果替换值。
Using a string is unwieldy, and it forces you to reserve a specific number of characters in the string for each value or to use a separator character to delimit each value.
使用字符串非常笨拙,而且必须为字符串中的每个值保留固定的字符数,或者使用分隔符来划分。
If your string contains more than one dynamic element, MSGFMT supports an extended markup syntax that allows you to specify the position of each dynamic element in the string.
如果字符串包含多个动态元素,则msgfmt支持扩展标记语法,该语法允许您指定字符串中每个动态元素的位置。
This solution, in effect, gives the receiving system a hint as to which values are standard (including casing and spelling) but in fact allows any value in the string field.
实际上,该解决方案提示接收系统哪些值是标准的(包括包装和拼写)。但实际上字符串字段可以存放任何值。
The index created for each row of data becomes the count because it was only incremented when a new row of data was found, meaning it is in sync with the amount of data in the string.
为每一行数据所创建的索引成为了计数器,因为每当新的一行数据加进来的时候,这个索引是唯一的增量,这也意味着计数器将与字符串数据的总量同步变化。
Consider Figure 1 below, which shows the intra-key release times of the author's typing of "Nathan." (the trailing "n" is not measured because it is the final character in the string.)
考虑下面的图1,该图显示了作者键入“nathan”的键释放时间(未测量拖尾的“n”,因为它是字符串中的最后一个字符)。
This code results in the string the cow2 jump16 over the moon2, where cow2, jump16, and moon2 are arbitrary labels helpful to neither machine nor human and just used here for illustration.
这个代码生成字符串thecow2jump16over themoon2,其中,cow2、jump16和moon 2是既无助于机器、又无助于人类的任意标签,这里仅用于演示。
This code results in the string the cow2 jump16 over the moon2, where cow2, jump16, and moon2 are arbitrary labels helpful to neither machine nor human and just used here for illustration.
这个代码生成字符串thecow2jump16over themoon2,其中,cow2、jump16和moon 2是既无助于机器、又无助于人类的任意标签,这里仅用于演示。
应用推荐