A model of a regular expression.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Composes this regex with the specified regex using intersection, returning a regex that will match a prefix only if both this and the specified regex match it.
Composes this regex with the specified regex using intersection, returning a regex that will match a prefix only if both this and the specified regex match it.
Attributes
Returns a new regex that matches at least min occurrences of this regex.
Returns a new regex that matches at least min occurrences of this regex.
Attributes
Returns a new regex that matches at most max occurrences of this regex.
Returns a new regex that matches at most max occurrences of this regex.
Attributes
Returns a new regex that matches between min and max occurrences of this regex.
Returns a new regex that matches between min and max occurrences of this regex.
Attributes
Compiles the regex to a form that allows efficient execution on chunks of characters.
Compiles the regex to a form that allows efficient execution on chunks of characters.
Attributes
If the regex is a string literal, returns the string literal.
If the regex is a string literal, returns the string literal.
Attributes
Composes this regex with the specified regex using union, returning a regex that will match a prefix only if either this or the specified regex match it.
Composes this regex with the specified regex using union, returning a regex that will match a prefix only if either this or the specified regex match it.
Attributes
Sequentially composes this regex with the specified regex, returning a regex that will first match this one, and then match the specified regex.
Sequentially composes this regex with the specified regex, returning a regex that will first match this one, and then match the specified regex.