Class RegexOptions
java.lang.Object
org.evomaster.client.java.controller.mongo.operations.RegexOptions
Options supported by MongoDB's
$regex operator.-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for creating aRegexOptionsinstance.RegexOptions(boolean caseInsensitive, boolean multiline, boolean dotAll, boolean extended, boolean unicode) Constructs a new instance ofRegexOptionswith the specified options. -
Method Summary
-
Constructor Details
-
RegexOptions
public RegexOptions()Default constructor for creating aRegexOptionsinstance. Initializes the regex options with all settings set tofalse. -
RegexOptions
public RegexOptions(boolean caseInsensitive, boolean multiline, boolean dotAll, boolean extended, boolean unicode) Constructs a new instance ofRegexOptionswith the specified options.- Parameters:
caseInsensitive- whether the regex evaluation should be case-insensitive.multiline- whether the regex evaluation should recognize the start (^) and end ($) anchors as beginning and end of each line, respectively.dotAll- whether the dot (.) in the regex should match all characters, including line terminators.extended- whether the regex should allow extended syntax, such as whitespace and comments.unicode- whether the regex should handle Unicode-specific properties.
-
-
Method Details
-
isCaseInsensitive
public boolean isCaseInsensitive() -
isMultiline
public boolean isMultiline() -
isDotAll
public boolean isDotAll() -
isExtended
public boolean isExtended() -
isUnicode
public boolean isUnicode() -
isEmpty
public boolean isEmpty() -
equals
-
hashCode
public int hashCode()
-