Returns an expressing matching a single character that is not within the class of characters matched by this expression.
Returns an expressing matching a single character that is not within the class of characters matched by this expression.
The regular expression string that can be used within square brackets to merge with other character classes.
The regular expression string that can be used within square brackets to merge with other character classes.
Returns the intersection of this character class with the specified character classes.
Returns the intersection of this character class with the specified character classes.
Returns the intersection of this character class with the specified character class.
Returns the intersection of this character class with the specified character class.
Returns an expression that matches the receiver repeated any number of times, using greedy matching.
Returns an expression that matches the receiver repeated any number of times, using greedy matching.
Returns an expression that matches the receiver repeated any number of times, using possessive matching.
Returns an expression that matches the receiver repeated any number of times, using possessive matching.
Returns an expression that matches the receiver repeated any number of times, using reluctant matching.
Returns an expression that matches the receiver repeated any number of times, using reluctant matching.
Returns an expression that matches the receiver repeated at least once, using greedy matching.
Returns an expression that matches the receiver repeated at least once, using greedy matching.
Returns an expression that matches the receiver repeated at least once, using possessive matching.
Returns an expression that matches the receiver repeated at least once, using possessive matching.
Returns an expression that matches the receiver repeated at least once, using reluctant matching.
Returns an expression that matches the receiver repeated at least once, using reluctant matching.
Returns an expression that matches the receiver appearing once or not at all, using greedy matching.
Returns an expression that matches the receiver appearing once or not at all, using greedy matching.
Returns an expression that matches the receiver appearing once or not at all, using possessive matching.
Returns an expression that matches the receiver appearing once or not at all, using possessive matching.
Returns an expression that matches the receiver appearing once or not at all, using reluctant matching.
Returns an expression that matches the receiver appearing once or not at all, using reluctant matching.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Returns an expression that matches the receiver repeated any number of times.
Returns an expression that matches the receiver repeated any number of times.
Returns an expression that matches the receiver repeated at least the specified minimum number of times.
Returns an expression that matches the receiver repeated at least the specified minimum number of times.
the minimum number of times that the pattern may be repeated; must be be >= 0;
IllegalArgumentException
if n < 0.
Returns an expression that matches the receiver repeated at least once.
Returns an expression that matches the receiver repeated at least once.
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.
The regular expression string that can be used independently of square brackets.
The regular expression string that can be used independently of square brackets.
Returns the intersection of this character class with the specified character classes.
Returns the intersection of this character class with the specified character classes.
Returns the intersection of this character class with the specified character class.
Returns the intersection of this character class with the specified character class.
Returns an expression that matches the receiver appearing once or not at all.
Returns an expression that matches the receiver appearing once or not at all.
Returns the union of this character class with the specified character class.
Returns the union of this character class with the specified character class.
Returns the union of this character class with the specified character classes.
Returns the union of this character class with the specified character classes.
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.
Returns an expression that matches the receiver repeated the specified number of times.
Returns an expression that matches the receiver repeated the specified number of times.
the exact number of times the pattern must be repeated for the quantified expression to match; must be >= 0.
IllegalArgumentException
if n < 0.
Returns an expression that matches the receiver repeated a number of times within the specified range.
Returns an expression that matches the receiver repeated a number of times within the specified range.
the minimum number of times that the pattern may be repeated; must be >= 0.
the maximum number of times that the pattern may be repeated; must be >= min.
IllegalArgumentException
if min < 0 or max < min.
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.
Returns an expressing matching a single character that is not within the class of characters matched by this expression.
Returns an expressing matching a single character that is not within the class of characters matched by this expression.
Returns the union of this character class with the specified character class.
Returns the union of this character class with the specified character class.
Returns the union of this character class with the specified character classes.
Returns the union of this character class with the specified character classes.
Returns the union of this character class with the specified character classes.
Returns the union of this character class with the specified character classes.
Returns the union of this character class with the specified character class.
Returns the union of this character class with the specified character 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.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Concatenates this expression with the argument.
Concatenates this expression with the argument.