| Package | Description |
|---|---|
| org.databene.formats.regex |
| Modifier and Type | Class and Description |
|---|---|
class |
CharRange
Represents a character within a range from
CharRange.first to CharRange.last. |
class |
Choice
Represents an alternative expression part of a regular expression, e.g.
|
class |
CustomCharClass
Represents a custom character class with inclusions and exclusions.
|
class |
Factor
Represents a regular expression part composed of a SubPattern and a Quantifier.
|
class |
Group
Represents a group in a regular expression, e.g.
|
class |
RegexChar
Represents a constant character as part of a regular expression.
|
class |
RegexCharClass
Parent class for classes that represent a single character in a regular expression.
|
class |
RegexString
Represents a constant string which is part of a regular expression.
|
class |
Sequence
Represents a sequence of regular expression factors.
|
class |
SimpleCharSet
Represents a character from a simple character set.
|
| Modifier and Type | Method and Description |
|---|---|
RegexPart[] |
Choice.getAlternatives()
Returns the alternative patterns
|
RegexPart |
Factor.getAtom()
Returns the atom.
|
RegexPart[] |
Sequence.getFactors() |
RegexPart |
Group.getRegex()
Returns the sub expression.
|
RegexPart |
RegexParser.parseRegex(String pattern) |
| Constructor and Description |
|---|
Choice(RegexPart... alternatives)
Constructor that takes an array of alternative patterns
|
Factor(RegexPart pattern) |
Factor(RegexPart atom,
int minQuantity,
Integer maxQuantity) |
Factor(RegexPart atom,
Quantifier quantifier) |
Group(RegexPart regex)
Constructor that takes a sub expression
|
Sequence(RegexPart... factors) |
| Constructor and Description |
|---|
Choice(List<RegexPart> alternatives)
Constructor that takes a list of alternative patterns
|
Copyright © 2006–2016 Volker Bergmann. All rights reserved.