Package net.sf.saxon.regex
package net.sf.saxon.regex
This package contains the code to map XML Schema and XPath regular expressions to the regular expression engine of the underlying Java platform.
Regular expressions are translated into the form accepted by JDK 1.5 or JDK 1.4. There are two separate versions of the translator because these two platforms differ radically in how Unicode characters outside the basic multilingual plane are handled.
Users should not normally need to use these classes directly.
Most of the code used in these translators was developed originally by James Clark.
-
ClassDescriptionThis class holds data about the case-variants of Unicode characters.Non-instantiable class containing constant data definitions used by the various Regular Expression translatorsThis class is an interator that supports the evaluation of xsl:analyze-string.Thrown when an syntactically incorrect regular expression is detected.Abstract superclass for the various regex translators, which differ according to the target platform.A Range represents a range of consecutive Unicode codepointsThis interface represents a compiled regular expressionAbstract superclass for the JDK 1.4 and .NET regex translators, or in principle for any other target regex dialect in which "." matches a UTF-16 16-bit code rather than a Unicode characterCharacter class representing a back-reference.Object representing a character classCharacter class that matches any character within a range of codepointsCharacter class representing the complement of another character class, that is, all characters that the other class doesn't match.Character class representing the characters matched by the XPath "." metacharacterCharacter class that matches nothingCharacter class containing characters that share a given Unicode propertySimple Character Class - essentially, anything other than a Union or Subtraction between two character classes.Character class that matches a single specific character in the BMPCharacter class that matches a single specific character outside the BMP