D.8 Regexp

Regexp represents a regular expression.

Table D.7:  Attributes for <regexp> tag

patternStringregular expression patternn/aYes
refidStringMakes this regexp a reference to a regexp defined elsewhere. If specified no other attributes or nested elements are allowed.n/aNo

D.8.1 Examples

<regexp id="myregexp" pattern="alpha(.+)beta"/>

Defines a regular expression for later use with id "myregexp".

<regexp refid="myregexp"/>

Use the regular expression with id "myregexp".