How to pattern-match a generic type argument?
如何匹配的泛型类型参数?
If a pattern can continue to match, it will, yielding the largest result possible.
如果模式可以继续匹配,那么它可能将生成最多的结果。
With these alone, you can match most any pattern of a predictable length.
仅使用这些内容,就可以匹配大多数具有可预测长度的模式。
Let's try a deep match, examining the contents of objects in our pattern match.
让我们来尝试一次深度匹配,在我们的模式匹配中检查对象的内容。
Line 5 performs the match, comparing the now digits-only phone number to the pattern.
第5行执行匹配,把现在仅含数字的电话号码与模式进行比较。
Match a pattern in the tree and modify the tree.
匹配树中的模式,并修改树。
Pattern matching is eager; the first match wins.
模式匹配是贪婪的;只有第一个匹配的情况会赢。
Recall that the cases in a pattern match are evaluated in order.
回忆一下,模式匹配的cases会被按顺序依次被评估。
For example, the pattern o {2} would match two (and only two) o characters.
例如,模式o{2}将匹配两个(仅仅两个)o字符。
To match the pattern against the whole sequence, use matches .
要根据整个序列匹配模式,请使用matches 。
This pattern will match a UserList element with any kind of children.
这个模式将会和一个具有任意类型的子节点的UserList元素匹配。
If the pattern does not match the version string pattern, a status message is created.
如果模式与版本字符串模式不相匹配,那么就会创建一条状态信息。
The hosts.deny is then searched for a pattern match.
然后在 hosts.deny 中搜索匹配的模式。
This keyword is followed by a graph pattern to match against the graph in question.
这个关键字后面是要与图匹配的图形模式。
Match this pattern against the entire message and/or body.
在信头和/或信体中匹配这个模式。
Match this pattern against the message body.
在信体中匹配这个模式。
Match this pattern against the message header.
在信头中匹配这个模式。
Include [pattern] — include only files that match the given pattern.
include[模式]——只包含与指定模式匹配的文件。
You can Mix and Match templates to tailor fit on your working pattern.
你可以混合和匹配模板,您的工作格局度身订造合适。
We also improved pattern match algorithm, so the network detection engine can perform more quickly.
同时改进了模式匹配算法,使得网络检测引擎具有更好的实时性能。
What if there is more than one way to correctly match the pattern?
这是否是一个匹配模式的正确方式呢?
This paper proposed a multi scale similar pattern match approach for Times Series Databases.
提出一种多尺度的时间序列相似模式匹配算法。
The pattern describes one or more strings to match when searching a body of text.
该模式描述在查找文字主体时待匹配的一个或多个字符串。
Require the value of a string field to match a pattern.
要求字串栏位的值必须符合模式。
Gets or sets a value that indicates whether the pattern to match is case insensitive.
获取或设置一个值,该值表示分组中匹配项的索引。
In international pattern match, double row wheel roller skates are specified with his shoe.
在国际花样比赛上,双排轮旱冰鞋是指定用鞋。
In international pattern match, double row wheel roller skates are specified with his shoe.
在国际花样比赛上,双排轮旱冰鞋是指定用鞋。
应用推荐