2009
DOI: 10.1017/s0956796808007090
|View full text |Cite
|
Sign up to set email alerts
|

Regular-expression derivatives re-examined

Abstract: Regular-expression derivatives are an old, but elegant, technique for compiling regular expressions to deterministic finite-state machines. It easily supports extending the regular-expression operators with boolean operations, such as intersection and complement. Unfortunately, this technique has been lost in the sands of time and few computer scientists are aware of it. In this paper, we reexamine regular-expression derivatives and report on our experiences in the context of two different functional-language … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
77
0

Year Published

2011
2011
2019
2019

Publication Types

Select...
7
3

Relationship

1
9

Authors

Journals

citations
Cited by 101 publications
(77 citation statements)
references
References 9 publications
0
77
0
Order By: Relevance
“…For the online algorithm [15], built upon derivatives of regular expressions [12,13], we extensively use the rewriting functionality when deriving an expression with respect to a newly observed segment. The offline algorithm [14] is a recursive computation over the syntax tree of the expression; therefore, the role of Pure's rewriting engine is minimal.…”
Section: Tool Descriptionmentioning
confidence: 99%
“…For the online algorithm [15], built upon derivatives of regular expressions [12,13], we extensively use the rewriting functionality when deriving an expression with respect to a newly observed segment. The offline algorithm [14] is a recursive computation over the syntax tree of the expression; therefore, the role of Pure's rewriting engine is minimal.…”
Section: Tool Descriptionmentioning
confidence: 99%
“…The smaller the automaton, the better. Therefore, it is natural to be eager at simplifying the expressions, and apply all the possible transformations that help reducing the size of the automaton [22]. Yet we chose relatively few identities: basically, those of Definition 3 are about the constants (0, 1, 0 K , 1 K ).…”
Section: Identities On Expressionsmentioning
confidence: 99%
“…Since Kleene star and sequencing may invoke their arguments multiple times, dependent sequences embedded in them will be duplicated for each successful match of the pattern. This approach is similar to regular expression derivatives [9,38].…”
Section: Compilation Correctnessmentioning
confidence: 99%