JBehave meets this need by offering a Matcher type for implementing rich expectations. JBehave提供了一种Matcher类型用于实现丰富的期望,从而满足了这一需求。
The implicit side effect is that after this line the matcher object contains the first match found in the input text. 隐含的副作用是,执行该行代码之后,matcher对象包含在输入文本中找到的第一个匹配项。
Matcher is used to apply regular expressions to strings or, more accurately, to CharSequences. Matcher用于将正则表达式应用到字符串中,或者更确切地说,是应用到CharSequence中。
The Matcher offers several methods to test regular expression: matches(), lookingAt(), and find(). Matcher提供了几个方法来测试正则表达式:matches()、lookingAt()和find()。
The can-simplify-concat function acts as the matcher function and the simplify-concat function acts as the editor. can-simplify-concat函数作为匹配函数,simplify-concat函数则作为编辑器。
To match a Pattern against regions of an arbitrary CharSequence, you use the pattern instance to construct a Matcher object, passing the CharSequence as a parameter. 要将Pattern与CharSequence的区域匹配,要使用模式实例构建Matcher对象,将CharSequence作为参数传递给Matcher。
These two classes Pattern and Matcher are the whole pattern-matching library. 这两个类(Pattern与Matcher)就是整个模式匹配库。
In this scenario, the matcher mainly moves in a forward direction, often by more than one character at a time. 在这个场景中,匹配器主要是向前移动,一次通常移动不止一个字符。
The tree-edit function takes a zipper structure, a matcher function, and an editor function. tree-edit函数获取一个zipper结构、一个matcher函数和一个editor函数。
To grasp how this works you first need to understand the access pattern of a Matcher to its CharSequence. 为了掌握这种方法,首先需要理解Matcher到其CharSequence的访问模式。
It uses a sophisticated identity matcher to generate keys that are then matched up between the models so the element IDs can be migrated forward. 它利用精密的身份匹配器来产生在稍后的模型中可以匹配的关键元素,这样以来这些元素ID就可以向前移动。
If it matches, the node and the result of the matcher are passed to the editor function for possible modification and iteration continues from the modified node. 如果匹配,则节点和matcher函数的结果将传递至editor函数,进行可能存在更改,迭代将从修改后的节点处继续。
In the non-termination case, the matcher function is applied to the current loc. 如果未终止,matcher函数将应用于当前的loc。
Coming up with the right regular expression and then working with the results of the Matcher class is really all there is to the library. 提出正确的正则表达式,然后使用Matcher类的结果,这就是这个模式匹配库要做的全部工作。
Matcher also offers a group() that retrieves the string matching a given group. Matcher还提供了group()来检索与给定组相匹配的字符串。
Therefore, since Matcher accepts CharSequence, it is possible to apply regular expressions to whole files. 因此,由于Matcher接受CharSequence,所以将正则表达式应用到全体文件是可能的。
The third matcher is for displaying the form, and uses the Forms Template Transformer. 第三的匹配器用来显示表单,使用表单模板转换器。
You can also define your own matcher or use an exact value. 你还可以定义自己的匹配器或者使用一个确定的值。
Just the education background for example, you know marketing tend to be much more matcher driving, I need to produce lees you know the more the merrier. 仅以教育背景为例,营销倾向于开制榫机,我要生产榫头当然是越多越好。
The underscore (_) is a matcher that says the argument can be anything. underscore()是一个匹配器(matcher),表示参数可以是任何值。
The given matcher provides pluginandplay function by exposing software object slots, as a result message classifying and data process are isolated and software scalability is ensured. 该匹配器通过提供支持即插即用的软件插槽将数据分类和数据处理逻辑分开,实现数据向上层的传递和用户定制信息处理,从而实现高度的可扩展性。
Analysis of the Operational Results on Transformer and Matcher Electric Systems under Unsymmetrical Load 变配电系统负荷不对称运行后果剖析
For combining matcher: the limitation of information used in fingerprint matching is the one of the most important problems during fingerprint matching. 混合指纹匹配:可用于匹配的特征信息不足是指纹识别,特别是基于细节点进行指纹匹配中存在的主要问题。
Design and Test for Model CK-1C Telemetry Signal Changer or Matcher CK-1C遥测讯号变换器的设计与试验
The high level coarse matches can reduce significantly the amount of samples that enter into lower level fine matchers, the final level matcher realizes high accuracy verification. 7. 前几层的粗匹配显著地减少进入下一层精细匹配的样本数,最底层匹配则实现了高精度的验证。
For a given matching task, this approach uses the application requirements and user preferences obtained by a user interface to select matchers from matcher library, and to evaluate selected matching by an evaluation model. 从应用需求中获取匹配任务信息和用户偏好,并以此在匹配器库中筛选满足条件的匹配器,再利用评价模型对所筛选出来的匹配器进行全面分析,从而为用户推荐合适的匹配器。
Always, schema with different structure, definition, naming conventions. So, in order to find the corresponding relationship we have to combine various schema matchers, for example, structure matcher, instance matcher, restriction-based matcher. 模式可以具有不同的结构、定义、命名方式,所以要寻找对应关系通常需要从多方位发掘匹配,采用多匹配器相结合的方式,如:结构匹配器,实例匹配器,基于约束匹配等。