The attribute m-matches
takes a regular expression. If an <m>
matches the pattern, then the condition will be true.
One of four tests for determining the truth value that will trigger the message in a <report>
or <assert>
Formal Definition
Defined at:
TAN-mor.rng
Used by: ~action-condition-attributes
Example 8.43. @m-matches
<body>
<for-lang>eng</for-lang>
<rule m-matches=".+">
<assert m-has-how-many-features="1">Features may not be combined.</assert>
</rule>
<rule m-has-features="$">
.........
</rule>
.........
</body>
Note | |
---|---|
Taken from eng.kalvesmaki.com,2014.2 |