slide 60

Some Functions Use Regular Expressions

major difference between XPath 1.0 and XPath 2.0

matches() Returns boolean to indicate if string matches regular expression
replace() Constructs an output string by replacing parts of the input string that match regex (while copying nonmatching substrings)
tokenize() Splits a string into a sequence of substrings (tokens) as delimited by separators that match the regex