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.util.regex.Pattern class.
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.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Passes the regular expression represented by this object to java.util.regex.Pattern and returns the result.
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.
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.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Interface implemented by expressions that may be used as sub-expressions in sequences.