References & Citations
Computer Science > Formal Languages and Automata Theory
Title: Derivative-Based Diagnosis of Regular Expression Ambiguity
(Submitted on 22 Apr 2016 (v1), last revised 13 Jul 2016 (this version, v2))
Abstract: Regular expressions are often ambiguous. We present a novel method based on Brzozowski's derivatives to aid the user in diagnosing ambiguous regular expressions. We introduce a derivative-based finite state transducer to generate parse trees and minimal counter-examples. The transducer can be easily customized to either follow the POSIX or Greedy disambiguation policy and based on a finite set of examples it is possible to examine if there are any differences among POSIX and Greedy.
Submission history
From: Martin Sulzmann [view email][v1] Fri, 22 Apr 2016 13:21:10 GMT (45kb)
[v2] Wed, 13 Jul 2016 15:01:59 GMT (46kb)
Link back to: arXiv, form interface, contact.