public class RegexMatchExpression extends RelationalExpression
{ field:, regex: , caseInsensitive: false, extended: false, multiline: false, dotall: false }
Constructor and Description |
---|
RegexMatchExpression(Path field,
String regex,
boolean caseInsensitive,
boolean multiline,
boolean extended,
boolean dotall)
Constructs a regular expression match expression using the values
|
Modifier and Type | Method and Description |
---|---|
static RegexMatchExpression |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node) |
Path |
getField()
Returns the field to me matched
|
String |
getRegex()
Returns the regular expression
|
boolean |
isCaseInsensitive()
Determines if the regex match will be case sensitive
|
boolean |
isDotAll()
(from regex javadoc) In dotall mode, the expression .
|
boolean |
isExtended()
(from regex javadoc) In this mode, whitespace is ignored, and embedded
comments starting with # are ignored until the end of a line.
|
boolean |
isMultiline()
(from regex javadoc) In multiline mode the expressions ^ and $ match just
after or just before, respectively, a line terminator or the end of the
input sequence.
|
com.fasterxml.jackson.databind.JsonNode |
toJson() |
fromJson
getFactory, getSourceNode, toString
public Path getField()
public String getRegex()
public boolean isCaseInsensitive()
public boolean isMultiline()
public boolean isExtended()
public boolean isDotAll()
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
public static RegexMatchExpression fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2014. All rights reserved.