One of the limitations in my original solution was that it reported only the match pattern when each template started and ended execution.
在我原先的解决方案中所存在的限制之一是,在每个模板启动,然后结束执行之后,它只报告match模式。
A British astronomer was analyzing a spectrograph of sunlight, and he noticed a particular pattern of spectral lines that didn't match anything in the library.
一位英国天文学家在分析一台太阳光摄谱仪时,注意到一种特殊的光谱线模式,它与图书馆里的任何一种都不匹配。
The query attempts to match the triples of the graph pattern to the model.
这个查询试图把图形模式的三元模式和模型进行匹配。
You can precede it with a line number, range, pattern to match, or enclosed in slashes.
您可以在它前面附加行号、范围、要匹配或包括在斜杠中的模式。
It is surprisingly simple: the name itself differs, so we can use a simple pattern match on the name field.
令人惊奇的简单:只是名字上的区别,所以我们可在NAME域上使用一个简单的模式匹配。
To find these concepts in text, you can specify rules that define a pattern to match these concepts.
为了在文本中寻找这些概念,可以通过指定规则定义匹配这些概念的模式。
It proceeds through each one, trying to match the input form to the pattern and, if it matches, it produces the associated expansion.
它依次通过每个组合进行处理,尝试将输入形式与模式进行匹配,如果匹配的话,它就产生相关联的展开形式。
To rectify this, you can, at any time, create a static cache rule that enables you to match a particular URL pattern with a new (and probably larger) last-modified factor.
为了修正这种情况,您可以在任何时候创建一条静态缓存规则(匹配某种特殊的URL模式,以及较大的“最后修改”系数)。
In the first versions of XI, you would specify the regex through a pattern attribute associated to the match element.
在XI的第一个版本中,您应该通过与匹配元素相关的模式属性指定正则表达式。
If you want to match a pattern multiple times within a character sequence, the above code snippets are a good place to start.
如果您想在一个字符序列中多次匹配一个模式,上面的代码片段是一个很好的起点。
A list of all classes in the project's build path that match that pattern are presented in a list, from which you can select the class and package name you want to use.
将在一个列表中显示与该模式匹配的项目构建路径中的所有类,您可以从此列表中选择您希望使用的类名称和包名称。
When you know the pattern to name an object, you need to choose terms from the glossary models to match the pattern.
了解了对象命名所要求的模式之后,需要从术语表模型中选择词汇来匹配这个模式。
This function literal does a pattern match on the message instance to decide how to handle the message.
这个字面函数给消息做了一个模式匹配来决定它被如何处理。
The ? character means to match zero or one instance of the previous pattern element; the * character means to match zero or more of the previous element.
字符表示匹配前面模式元素的零个或一个实例,* 字符表示匹配前面元素的零个或多个实例。
While an index on a relational column contains all values from that column, an XML index contains only values of nodes that match both the XML pattern and the data type in the index definition.
关系列上的索引包含了此列的所有值,而xml索引仅包含那些同时匹配XML模式和索引定义中的数据类型的节点值。
Note in the evaluation, if the pattern is a bound variable, or the element of the pattern is a bound variable, then the result of the pattern match becomes a comparison.
注意,如果模式是绑定的变量,或者模式的元素是绑定的变量,那么模式匹配的结果就会变成比较。
Given a regex and a datum, a regex engine yields whether the datum matches a pattern and, if a match was found, what matched.
给定一个正则表达式和数据,正则表达式引擎将得到数据是否匹配模式及匹配内容(如果找到匹配)等结果。
Looking at the code, you can see that the regular expression pattern was set to match a line that contained 20-29%.
查看该代码,可以看到正则表达式模式被设置为匹配某个包含20- 29%的行。
The general rule to remember is that the ODR tries to match the most specific pattern.
需要牢记,一般规则是ODR试图匹配最具体的模式。
An initial scan of the input directory when the flow is started populates a list of input files that match the input pattern and are waiting to be processed by the message flow.
流启动时的初始输入目录扫描将填充与输入模式匹配并等待由消息流处理的输入文件列表。
This function attempts to match a specific occurrence of the pattern that is defined by the regular expression against the source string.
此函数试图匹配正则表达式针对源字符串的模式的特定发生项。
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 中,可以使用 /命令搜索字符串,这需要以字面字符串或正则表达式的形式指定要匹配的模式。
Similar to resolve, this method also returns an array of config objects, since multiple config objects can match the pattern.
与resolve类似,这个方法也会返回一个配置对象数组,因为许多配置对象都可以匹配这种模式。
The complete method allows you to search the RDF model for statements that match a specified pattern.
complete方法允许您搜索rdf模型以找到一个匹配指定模式的语句。
If a pattern match is found, the connection is let in, or more precisely, TCPD dies and lets the real serving daemon take over.
如果找到匹配的模式,就允许连接,或者更准确地说,tcpd死亡,让真正提供服务的守护进程接管。
Then it executes a couple of find commands to search the file system for files that match a pattern and to append them to the TempList.
然后它执行两个find命令来搜索文件系统中匹配某个模式的文件,并将它们附加到TempList。
It will match the URL to this pattern and put the last part of the URL in a variable called name.
它将URL与该模式匹配,并将URL的最后部分放到一个名为name的变量中。
You may include a "default" case at the end of a pattern match, either using the underscore wild card character or a meaningfully-named variable.
你可以在模式匹配的最后包含一个“default”默认case,可以使用下划线通配符,或者有含义的变量名。
Note that evaluate returns a Double, which means that each case in the pattern match is going to have to evaluate into a Double value.
注意evaluate返回了一个Double,它意味着模式匹配中的每一个case都必须被求值成一个double值。
Thankfully, Scala treats exception handling as just another pattern match, allowing us to make smart choices when presented with a multiplicity of potential exceptions. Let's see this in action.
感谢scala实际上把异常处理作为了另外一种模式匹配,允许我们在遇到多样化的异常时能做出更聪明的决定。
应用推荐