当一个正则表达式投入使用时,首先要确定目标字符串中开始搜索的位置。
When a regex is put to use, the first step is to determine the position within the target string where the search should start.
与清单1相比,在清单1中,通过选择s:name子元素,就可以立即将查找结果限制为目标字符串。
Compare this to Listing 1 where the result of key lookup is immediately narrowed down to the desired string by selecting s: name children.
目标字符串很小时,这种方法只比正则表达式快一点,但更重要的是,字符串的长度不再影响执行测试所需要的时间。
This is just a bit faster than the regex-based test with small target strings, but, more importantly, the string's length no longer affects the time needed to perform the test.
此正则表达式匹配正常HTML字符串时工作良好,但是如果目标字符串缺少一个或多个标签时,它就会变得十分糟糕。
This regex works fine when matching a suitable HTML string, but it turns ugly when the string is missing one or more required tags.
当一个正则表达式扫描目标字符串时,它从左到右逐个扫描正则表达式的组成部分,在每个位置上测试能不能找到一个匹配。
As a regex works its way through a target string, it tests whether a match can be found at each position by stepping through the components in the regex from left to right.
对于输入的每一对字符串,你的程序应该按顺序生成所有的有效的进出栈操作列表,其中的每组操作都能使原字符串转变为目标字符串。
For each input pair, your program should produce a sorted list of valid sequences of I and o which produce the target word from the source word.
这个语法使用的是PRCE (PerlCompatibleRegularExpressions),一种用来匹配任意目标字符串模式的有效方法。
The syntax USES PRCE (Perl Compatible Regular Expressions), a very powerful way of matching any desired string pattern.
如果目标存储库认为它应该是一个字符串,那么就不用转换它。
If the target repository says that it should be a string, then you leave it alone.
每次添加或更改字符串时,都应当重新生成消息文件,否则将在目标语言环境显示未翻译的新文本。
Every time strings are added or changed, the message file should be regenerated, or the new text will appear untranslated in the target locales.
一旦设立完成,只需列出目标媒介类型和包含消息本身的字符串就可以发送消息了。
Once that is done messages are sent merely by listing the target mediums types and a string containing the message itself.
目标对象和选项字符串因调用的管理命令而异。
The target object and options strings vary depending on the admin command invoked.
对于不能将字符串转换为整数的情况,将在目标字段中使用一个用户指定的默认整数。
In cases where the string cannot be converted to an integer, a user-specified default int is placed in the target field.
例如,它可以是要求部署人员为目标指定某个特定于提供者的名字的字符串。
For example, it could be a string requiring the deployer to specify some provider-specific name for the destination.
记住,输入字符串包含一个带有日期和时间信息的完整时间戳,您希望仅使用一个时间值填充db 2目标表中的timechanged列。
Recall that the input string contains a full timestamp with date and time information, and you want to populate the TIMECHANGED column in the DB2 target table with only a time value.
现时标志是一个由发送方(签名者)新生成的无重复字符串,这样目标接收方就能检查其唯一性了。
A nonce is a non-repeating string freshly generated by the sender (the signer) such that the intended recipient can check its uniqueness.
为了使此示例简单,目标仅仅是字符串,任务是把它们打印出来。
To make this example simple, the tasks are just strings and the work is to print them.
Concat函数将来自源的两个或多个字符串在目标端连接成一个单一的字符串值。
The Concat function will concatenate two or more strings from the source into a single string value on the target side.
客户机应用程序使用?ReadViewEntries查询字符串,针对目标数据库视图创建到Domino服务器的一个HTTP请求。
The client application creates an HTTP request to the Domino server against the target database view, using the? ReadViewEntries query string.
该声明首先是Flex应用程序的全局引用,然后是始终以字符串get 为开头、后接目标对象ID的方法调用。
The declaration begins with the global reference to the Flex application, then a method call that always begins with the string get followed by the ID of the target object.
好的,一种处理这个问题的方法是将两个字符串变量($a)及目标文本(RIPT)都转换成小写或者大写字符。
Well, one way to handle that is to convert both the string variable ($a) and the target text (RIPT) to all-lowercase or all-uppercase characters. This command returns the value True
源语言与目标语言通过使用传入 getTranslation方法的字符串变量language指定。
The source language to target language is specified by use of the String variable language, which you feed into the getTranslation method.
WebSphereTranslationServer以请求的目标语言向bot返回翻译字符串。
WebSphere translation Server returns our translation string in the requested target language to the bot.
Transformer阶段需要从包含时间戳数据的输入字符串提取时间信息,以准确地填充目标DWADMIN.ACCT表中的 TIMECHANGED列。
The Transformer stage needs to extract time information from an input string containing timestamp data in order to correctly populate the TIMECHANGED column in the target DWADMIN.ACCT table.
的属性中,title和href很简单,分别提供了字符串描述和链接目标的URL。
Of the attributes that a can have, the title and href attributes are self-explanatory: They provide a string description and a URL for the link target respectively.
因此,如果要保留原始页面的表单数据和查询字符串集合,必须把目标页面page指令的EnableViewStateMac属性设置成False。
Therefore, when you choose to preserve the form and query string collection of the original page, you must set the EnableViewStateMac attribute of the page directive to False for the destination page.
在使用图8中的Add/Edit对话框构建消息元素目标时,您将Type字段保留为String,以便Value 字段是所希望的字符串常量。
When you constructed the message element target using the Add/Edit dialog in Figure 8, you left the Type field as String so that the Value field could be the desired string constant.
如果源字符串至少和目标一样长,那么函数strncpy(3)还不会使用NUL 来结束字符串;这可能会在以后导致严重破坏。
The function strncpy(3) also doesn't NUL-terminate its destination if the source string is at least as long as the destination; this can cause havoc later.
第一个部分获得提要并为每个新闻条目标题输出提示块;这些输出依次追加到一个字符串中。
The first gets the feed and outputs the prompt blocks for each news item title; this is sequentially appended to a string.
第一个部分获得提要并为每个新闻条目标题输出提示块;这些输出依次追加到一个字符串中。
The first gets the feed and outputs the prompt blocks for each news item title; this is sequentially appended to a string.
应用推荐