它使用Scala的模式匹配。
这就是众所周知的模式匹配。
就可以排除与这些模式匹配的所有文件
you can exclude all files that match any of those patterns with
XSLY 的秘诀:模式匹配
用于模式匹配的正则表达式。
模式匹配这一章是新添的。
利用模式匹配构建xml。
这三种语言都支持正则表达式和模式匹配。
Our three languages also share support for regular expressions and pattern matching.
规则引擎可以使用多种算法执行模式匹配。
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.
清单11给出了模式匹配扩展的一些基本用法。
Listing 11 shows some basic usage of the pattern matching expansions.
应该构造XML数据,使模式匹配尽可能简单。
The XML data should be structured to make that pattern matching as easy as possible.
这对于验证输入或分隔与模式匹配的文档很有用。
This is useful for validating input or for splitting a document where the pattern matches.
我认为这种模式匹配不好。
然后,将这个结构送入概念建模引擎进行模式匹配。
This structure is then fed into the Concept Modeling engine for pattern matching.
模式匹配的主要部分是关于要使用什么样的表达式。
The main part of pattern matching is coming up with the expression to use.
这两个文件中的模式匹配规则控制拒绝或允许什么。
Rules to pattern matching in both these files will control what gets denied or allowed.
引擎从第一条规则开始,查找与输入模式匹配的规则。
The engine starts from the first rule and looks for the rule that matches the input pattern.
内置的操作符使得文本搜索、替换和模式匹配轻而易举。
The built-in operators make text searching, replacing, and pattern matching effortless.
模式匹配。
在这个示例中,使用模式匹配提取列表的开头和结尾部分。
In that example, pattern matching was used to extract both the head and the tail of the list.
这个字面函数给消息做了一个模式匹配来决定它被如何处理。
This function literal does a pattern match on the message instance to decide how to handle the message.
我们大脑是模式匹配机器,因此我们更容易注意到这样的模式。
Our brains are just pattern matching machines, so we tend to notice patterns like that.
include[模式]——只包含与指定模式匹配的文件。
Include [pattern] — include only files that match the given pattern.
活动模式的思想就是让你能把模式匹配语法用于其他数据结构。
The idea of active patterns is to enable you to use the pattern matching syntax with other data structures.
并非确定字符串是否与模式匹配,它有时需要提取每个匹配项。
Rather than determining if a string matches a pattern, it is sometimes desirable to extract every match.
其优点远远不止匿名函数、正则表达式支持、模式匹配这几样。
Anonymous functions, regular expression support and pattern matching are only the beginning.
路由在模式匹配时使用正则表达式,并且使用XML表示。
Routes make use of regular expressions for pattern matching, and are expressed using XML.
oro - 2.0.8 . jar:模式匹配的表达式库。
Oro-2.0.8.jar: a regular expression library for pattern matching.
本教程也假设您理解开发人员测试的价值,并熟悉基本模式匹配。
This tutorial also assumes that you understand the value of developer testing and are familiar with basic pattern matching.
应用推荐