Constructor and Description |
---|
RegExList() |
Modifier and Type | Method and Description |
---|---|
List<RegEx> |
getList()
The list of
RegEx es that are successively tried to be matched. |
Optional<String[]> |
match(String string)
Returns an array of string components it matches successfully, or
Optional.empty() if
it cannot match. |
void |
setList(List<RegEx> list)
The list of
RegEx es that are successively tried to be matched. |
String |
toString()
By default, we use
AnchorBean.describeBean() as the string representation of the bean. |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public Optional<String[]> match(String string)
RegEx
Optional.empty()
if
it cannot match.match
in class RegEx
string
- string to match against the regular-expression.Optional.empty()
if no match is possible.public String toString()
AnchorBean
AnchorBean.describeBean()
as the string representation of the bean.toString
in class AnchorBean<RegEx>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.