Abstract
We develop a formal perspective on how regular expression matching works in Java1, a popular representative of the category of regex-directed matching engines. In particular, we define an automata model which captures all the aspects needed to study such matching engines in a formal way. Based on this, we propose two types of static analysis, which take a regular expression and tell whether there exists a family of strings which makes Java-style matching run in exponential time.
Cite
CITATION STYLE
Berglund, M., Drewes, F., & Van Der Merwe, B. (2014). Analyzing catastrophic backtracking behavior in practical regular expression matching. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 151, pp. 109–123). Open Publishing Association. https://doi.org/10.4204/EPTCS.151.7
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.