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.
Constructs an expression matching either the receiver or the specified argument expression.
Constructs an expression matching either the receiver or the specified argument expression.
Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.
Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.
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.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.
Constructs an expression matching either the receiver or the specified argument expression.
Constructs an expression matching either the receiver or the specified argument expression.
Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.
Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.
Expression representing a set of alternatives that may be matched.