Reputation:
Been struggling to find a nice list of regex that is used in XSLT. Specifically looking for 'greater than', 'smaller than', 'equal to' etc regex.
If anyone can push me in the right direction it would be of great help. Thanks very much!
Upvotes: 0
Views: 207
Reputation: 163595
In the XSLT 2.0 regex dialect, the characters <, =, and > do not need to be escaped at the regex level. But of course < needs to be escaped at the XML level, using <
Upvotes: 3
Reputation: 18064
If my understanding is correct,
Regex to match the >, <, =
and soon
\>
\<
\=
use \
before a character to match
Upvotes: -1