It USES Scala's pattern matching.
它使用Scala的模式匹配。
The Zen of XSLT: pattern matching
XSLY 的秘诀:模式匹配
Using pattern matching to build XML.
利用模式匹配构建xml。
Listing 11 shows some basic usage of the pattern matching expansions.
清单11给出了模式匹配扩展的一些基本用法。
There are a number of algorithms used for pattern matching by rules engines.
规则引擎可以使用多种算法执行模式匹配。
Assigning values to variables is actually a special type of pattern matching.
为变量赋值实际上就是一种特殊的模式匹配。
If it's not, it won't — one of the tricky things about performing pattern matching.
如果格式不好,则不会正确匹配——这是执行模式匹配任务的一件棘手之事。
Our brains are just pattern matching machines, so we tend to notice patterns like that.
我们大脑是模式匹配机器,因此我们更容易注意到这样的模式。
Rules to pattern matching in both these files will control what gets denied or allowed.
这两个文件中的模式匹配规则控制拒绝或允许什么。
The built-in operators make text searching, replacing, and pattern matching effortless.
内置的操作符使得文本搜索、替换和模式匹配轻而易举。
Routes make use of regular expressions for pattern matching, and are expressed using XML.
路由在模式匹配时使用正则表达式,并且使用XML表示。
The current XSL standard USES the XPath technology to perform all of its pattern matching.
当前的XSL标准使用XPath技术来执行它所有的模式匹配。
The key to success with a socket wrench is pattern matching: The socket must match the nut.
成功使用套筒扳手的关键在于模式匹配:套筒扳手必须与螺母相匹配。
The key is pattern matching, as in Figure 1. Instead of coding commands, you code patterns.
其中的关键就是模式匹配,如图1 所示。您不需要编写命令,需要编写的是模式。
The pattern matching chapter is sufficient for learning about this fascinating side of Perl.
模式匹配这章足以让您掌握Perl的这一令人心醉的特性。
In that example, pattern matching was used to extract both the head and the tail of the list.
在这个示例中,使用模式匹配提取列表的开头和结尾部分。
Finally, when designing pattern matching statements, be wary of relying on a default case clause.
最后,当设计模式匹配指令时,对于默认case的依赖要小心。
These techniques are based on pattern matching and event definitions and can be spatial or temporal.
这些技术都是基于模式匹配和事件定义的,可以是空间上的或时间上的。
The pattern matching operation is potentially expensive, so it is vital to focus the search intelligently.
模式匹配操作可能是非常昂贵的,因此智能地集中搜索是非常重要的。
The idea of active patterns is to enable you to use the pattern matching syntax with other data structures.
活动模式的思想就是让你能把模式匹配语法用于其他数据结构。
This article has been a quick tour of pattern matching in F# and introduced its new active patterns feature.
这篇文章是F#中模式匹配的一个快速浏览,并介绍了它的新活动模式的特性。
For example, we can assign values to two variables simultaneously with one pattern matching (see Listing 31).
例如,可以使用一个模式匹配同时为两个变量赋值(参见清单31)。
Pattern matching is a powerful and elegant way of extracting information from objects, when used appropriately.
模式匹配在使用恰当时是一个强大的,优雅的从对象中抽取信息的方式。
An IP address matches a netmask based on precise bit pattern matching rules (beyond the scope of this article).
基于精确的位模式匹配规则(超出本文范围),IP地址与网络掩码相匹配。
It is now using the ICU framework instead of Oniguruma for regular expression compilation and pattern matching.
它现在是基于ICU架构而不是Oniguruma的正则表达式编译和模式匹配架构。
Given that both weigh in at about the same number of lines of code, where is the value of using pattern matching?
考虑到相同的代码量,使用模式匹配的价值体现在哪里?
Pattern matching is another feature found in many, if not most, functional languages, and offers some useful power.
模式匹配是许多(但不是大多数)函数语言中可以找到的另一个特性,它提供了一些有用的功能。
There are a number of ways to do this, but you will demonstrate how you can once again use pattern matching for this.
实现上述操作有许多方法,但我们将演示如何再一次使用模式匹配方法。
We'll revisit this topic in the section called "Enumerations vs. Pattern Matching" in Chapter 13, Application Design.
我们会在《第13章-应用程序设计》的“枚举vs .模式匹配”章节重温这个话题。
We experimented with different uses for pattern matching, a powerful improvement on the familiar case-switch statement.
我们实验了不同的模式匹配,作为对我们熟悉的case-switch 指令的一种强大增强。
应用推荐