See: Description
Interface | Description |
---|---|
IRegex |
Class | Description |
---|---|
Matcher2 | |
MatcherIterator | |
MyPattern | |
Pattern2 | |
RegexComposed | |
RegexConcat | |
RegexLeaf | |
RegexOptional | |
RegexOr | |
RegexPartialMatch | |
RegexResult |
PlantUML parses text using regular expressions. To aid in readability, these
are sepecified as trees of RegexComposed
branches and
RegexLeaf
leaves.
Before a RegexComposed
can be matched, it must first have each
of its constituent parts concatenated into one large regex string using
RegexComposed#getFullSlow
. This string is then transformed by
MyPattern#transform
to replace some macros (e.g. %s
for whitespace, %q for single quote) and compiled using
Pattern.compile(java.lang.String)
.