Class Categories


  • public class Categories
    extends java.lang.Object
    Singleton class holding data for Regular expression character categories.

    The data is read from an XML file derived from the Unicode database (In Saxon 9.6, this is based on Unicode 6.2.0). Since Saxon 9.4, we no longer make use of Java's support for character categories since there are too many differences from Unicode.

    Some commonly used categories are hard-coded and made available as static constants.