| Modifier and Type | Method | Description |
|---|---|---|
org.xmlet.regexapi.Element |
__() |
|
List<String> |
conditionalMatch(String toMatch) |
Method for conditional regex.
|
List<String> |
conditionalMatch(String toMatch,
boolean printMatchRegex) |
Method for conditional regex.
|
List<String> |
conditionalMatch(String toMatch,
boolean printMatchRegex,
boolean ignoreEmptyStrings) |
Method for conditional regex.
|
String |
getMatchRegex() |
|
String |
getName() |
|
org.xmlet.regexapi.Element |
getParent() |
|
org.xmlet.regexapi.ElementVisitor |
getVisitor() |
|
List<String> |
match(String toMatch) |
Applies the
matchRegex to the received String toReplace. |
List<String> |
match(String toMatch,
boolean printMatchRegex) |
Applies the
matchRegex to the received String toReplace. |
List<String> |
match(String toMatch,
boolean printMatchRegex,
boolean ignoreEmptyStrings) |
Applies the
matchRegex to the received String toReplace. |
org.xmlet.regexapi.RegexMatchExpression<Regex> |
matchRegex() |
|
static String |
quickExpr(Consumer<org.xmlet.regexapi.RegexMatchExpression<Regex>> expressionConsumer) |
|
List<String> |
replace(String toReplace) |
Applies the
matchRegex to the received String toReplace and performs the replace using the
substitutionRegex. |
List<String> |
replace(String toReplace,
boolean printRegex) |
Applies the
matchRegex to the received String toReplace and performs the replace using the
substitutionRegex. |
List<String> |
replace(String toReplace,
boolean printRegex,
boolean ignoreEmptyStrings) |
Applies the
matchRegex to the received String toReplace and performs the replace using the
substitutionRegex. |
Regex |
self() |
|
org.xmlet.regexapi.RegexSubstitutionExpression<Regex> |
substitutionRegex() |
public static String quickExpr(Consumer<org.xmlet.regexapi.RegexMatchExpression<Regex>> expressionConsumer)
public org.xmlet.regexapi.RegexMatchExpression<Regex> matchRegex()
public org.xmlet.regexapi.RegexSubstitutionExpression<Regex> substitutionRegex()
public List<String> replace(String toReplace)
matchRegex to the received String toReplace and performs the replace using the
substitutionRegex.toReplace - The received String.public List<String> replace(String toReplace, boolean printRegex)
matchRegex to the received String toReplace and performs the replace using the
substitutionRegex.toReplace - The received String.printRegex - Informs if the both matchRegex and substitutionRegex should be printed.public List<String> replace(String toReplace, boolean printRegex, boolean ignoreEmptyStrings)
matchRegex to the received String toReplace and performs the replace using the
substitutionRegex.toReplace - The received String.printRegex - Informs if the both matchRegex and substitutionRegex should be printed.ignoreEmptyStrings - Informs if the method should ignore empty Strings.public List<String> match(String toMatch)
matchRegex to the received String toReplace.toMatch - The received String.public List<String> match(String toMatch, boolean printMatchRegex)
matchRegex to the received String toReplace.toMatch - The received String.printMatchRegex - Informs if matchRegex should be printed.public List<String> match(String toMatch, boolean printMatchRegex, boolean ignoreEmptyStrings)
matchRegex to the received String toReplace.toMatch - The received String.printMatchRegex - Informs if matchRegex should be printed.ignoreEmptyStrings - Informs if the method should ignore empty Strings.public List<String> conditionalMatch(String toMatch)
matchRegex to the received String toReplace.toMatch - The received String.public List<String> conditionalMatch(String toMatch, boolean printMatchRegex)
matchRegex to the received String toReplace.toMatch - The received String.printMatchRegex - Informs if matchRegex should be printed.public List<String> conditionalMatch(String toMatch, boolean printMatchRegex, boolean ignoreEmptyStrings)
matchRegex to the received String toReplace.toMatch - The received String.printMatchRegex - Informs if matchRegex should be printed.ignoreEmptyStrings - Informs if the method should ignore empty Strings.public String getMatchRegex()
public Regex self()
self in interface org.xmlet.regexapi.Element<Regex,org.xmlet.regexapi.Element>public org.xmlet.regexapi.ElementVisitor getVisitor()
getVisitor in interface org.xmlet.regexapi.Element<Regex,org.xmlet.regexapi.Element>public String getName()
getName in interface org.xmlet.regexapi.Element<Regex,org.xmlet.regexapi.Element>public org.xmlet.regexapi.Element __()
__ in interface org.xmlet.regexapi.Element<Regex,org.xmlet.regexapi.Element>public org.xmlet.regexapi.Element getParent()
getParent in interface org.xmlet.regexapi.Element<Regex,org.xmlet.regexapi.Element>Copyright © 2018. All rights reserved.