public class RegexExpansion extends AbstractExpansion
CFG_COMMENT_STR, DEFAULT_CONFIG_FILE_NAME, DEFAULT_VALUE_SEPARATOR, expansionTable, LOGGER, RULE_SPLIT_REGEX, rulePattern, SEPARATOR_PREFIX| Constructor and Description |
|---|
RegexExpansion() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doExpansion(String original,
String[] rule)
Performs an expansion using regular expressions for both parts of the rule.
|
addExpansionList, addExpansionRule, expand, expand, getExpansionMap, loadConfiguration, removeExpansionRule, setAttributeSeparator, setExpansionFileName, setExpansionMap, setExpansionRules, split, updateprotected String doExpansion(String original, String[] rule)
doExpansion in class AbstractExpansionoriginal - The original string to be expandedrule - Two values specifying the expression to search for and the expression to replace it
withThis work is licensed under a Creative Commons Attribution 4.0 International License.