If the expression has a computable maximum length, this returns it.
If the expression has a computable maximum length, this returns it. Otherwise, it returns None.
This is used for determining whether an expression is suitable for look-behind.
Returns the regular expression represented by this object, in a form suitable to passing to the java.
Returns the regular expression represented by this object, in a form suitable to passing to the java.util.regex.Pattern class.
Indicates whether the expression may possibly be zero length.
Indicates whether the expression may possibly be zero length.
Used in some cases for determining repetitionInvalidatesBounds.
Indicates whether applying repetition to the expression invalidates the boundedness computation.
Indicates whether applying repetition to the expression invalidates the boundedness computation. This generally indicates that the expression may match a zero-repetition ({0, n} or ?).
This is used to determine boundedness of enclosing expressions.
Passes the regular expression represented by this object to java.
Passes the regular expression represented by this object to java.util.regex.Pattern and returns the result.
Uses the regular expression represented by this object to construct a scala.util.matching.Regex.
Always returns the same value as Expression#expression.
Always returns the same value as Expression#expression.
Base class extended by all reb4j expression builders.