通过把正则表达式规则的子模式(匹配组)分配给特性,可以设置注解的特性值。
You can set the feature values of an annotation by assigning a sub-pattern of the regular expression rule-a match group-to the feature.
该模式是一个正则表达式,它表示可接受的storeID的值应该以ID开头,后面紧跟着六位数字。
This pattern is a regular expression that means the acceptable value of store ID should begin with ID followed by six digits.
yacc可以识别出记号的模式;例如,如上面例子中所示,它可以识别出一个表达式可能由一个值、一个加号或者减号以及另一个值构成。
Yacc can recognize patterns of tokens; for instance, as in the example above, it can recognize that an expression can consist of a value, either a plus or minus sign, and another value.
它允许模式作者在元素声明中根据XPath表达式的值指定类型替换。
This allows the schema author to specify type substitutions on an element declaration which are selected based on the evaluation of XPath expressions.
返回一个布尔值,它指示在所搜索的字符串中是否存在正则表达式模式。
Returns a Boolean value that indicates whether a regular expression pattern exists in a searched string.
实现不生成结果值的表达式的访问者模式。
Implements the visitor pattern for expressions that do not produce a result value.
实现不生成结果值的表达式的访问者模式。
Implements the visitor pattern for expressions that do not produce a result value.
应用推荐