Package | Description |
---|---|
com.nobigsoftware.dfalex |
Modifier and Type | Field and Description |
---|---|
static CharRange |
CharRange.ALL
A CharRange that matches any single character
|
static CharRange |
CharRange.ASCIILOWER
Matches any ascii lower-case letter
|
static CharRange |
CharRange.ASCIIUPPER
Matches any ascii upper-case letter
|
static CharRange |
CharRange.ASCIIWHITE
Matches any ascii white space character (values from 0 to 32)
|
static CharRange |
CharRange.DIGITS
A CharRange that matches any decimal digit (0-9)
|
static CharRange |
CharRange.HEXDIGITS
A CharRange that matches any hexadecimal digit (0-9, a-f, and A-F)
|
static CharRange |
CharRange.JAVA_ID_CHAR
Matches Java identifier characters
|
static CharRange |
CharRange.JAVA_LETTER
Matches Java identifier start characters
|
static CharRange |
CharRange.NONE
A CharRange that matches no characters.
|
static CharRange |
CharRange.OCTALDIGITS
A CharRange that matches any octal digit (0-7)
|
Modifier and Type | Method and Description |
---|---|
static CharRange |
CharRange.anyOf(java.lang.String chars)
Create a CharRange that matches any of the characters in the given string
|
CharRange |
CharRange.Builder.build()
Produce a CharRange for the current set
|
CharRange |
CharRange.getComplement()
Return a new CharRange that matches the characters that this one does not match.
|
static CharRange |
CharRange.notAnyOf(java.lang.String chars)
Create a CharRange that matches any characters EXCEPT the characters in the given string
|
static CharRange |
CharRange.range(char from,
char to)
Create a pattern that matches all single characters with a range of values
|
static CharRange |
CharRange.single(char c)
Create a pattern that matches a single character
|
Modifier and Type | Method and Description |
---|---|
CharRange.Builder |
CharRange.Builder.addRange(CharRange cr)
Add characters from another
CharRange |
CharRange.Builder |
CharRange.Builder.exclude(CharRange cr)
Remove characters from another
CharRange |
CharRange.Builder |
CharRange.Builder.intersect(CharRange cr)
Intersect with another
CharRange |