public class Categories
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Categories.Category
A Category is a CharacterClass represented in a regular expression as \p{Xx}.
|
Modifier and Type | Field and Description |
---|---|
static PredicateCharacterClass |
ESCAPE_c |
static CharacterClass |
ESCAPE_C |
static Categories.Category |
ESCAPE_d |
static CharacterClass |
ESCAPE_D |
static PredicateCharacterClass |
ESCAPE_i |
static CharacterClass |
ESCAPE_I |
static CharacterClass |
ESCAPE_s |
static CharacterClass |
ESCAPE_S |
static PredicateCharacterClass |
ESCAPE_w |
static CharacterClass |
ESCAPE_W |
Constructor and Description |
---|
Categories() |
Modifier and Type | Method and Description |
---|---|
static Categories.Category |
getCategory(java.lang.String cat)
Get a predicate to test characters for membership of one of the Unicode
character categories
|
public static final CharacterClass ESCAPE_s
public static final CharacterClass ESCAPE_S
public static final PredicateCharacterClass ESCAPE_i
public static final CharacterClass ESCAPE_I
public static final PredicateCharacterClass ESCAPE_c
public static final CharacterClass ESCAPE_C
public static final Categories.Category ESCAPE_d
public static final CharacterClass ESCAPE_D
public static final PredicateCharacterClass ESCAPE_w
public static final CharacterClass ESCAPE_W
public static Categories.Category getCategory(java.lang.String cat)
cat
- a one-character or two-character category name, for example L or LuCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.