dregex
package dregex
Main package for Dregex implementation. User-facing classes reside directly in the top-level package. The rest of the sub-packages contain implementation classes.
- Alphabetic
- By Inheritance
- dregex
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
CompiledRegex extends Regex
A fully-compiled regular expression that was generated from a string literal.
- class InvalidRegexException extends Exception
-
class
ParsedRegex extends AnyRef
A parsed, but uncompiled regular expression.
-
trait
Regex extends AnyRef
A regular expression, ready to be tested against strings, or to take part in an operation against another.
A regular expression, ready to be tested against strings, or to take part in an operation against another. Internally, instances of this type have a DFA (Deterministic Finite Automaton).
-
class
SynteticRegex extends Regex
A regular expression that was generated by an operation between others (not parsing a string), so it lacks a literal expression or NFA.
-
class
Universe extends AnyRef
Represent the set of characters that is the union of the sets of characters of a group of regular expressions.
Represent the set of characters that is the union of the sets of characters of a group of regular expressions. Regex must belong to the same Universe to be able to make operations between them.
- class UnsupportedException extends Exception
Dregex is a Scala/JVM library that implements a regular expression engine using deterministic finite automata (DFA). The range of features supported is an middle ground between Perl-style (slow) engines and DFA-based ones. Yet it retains the linear matching time offered by the latter.