计算机科学 > 形式语言与自动机理论
[提交于 2014年5月22日]
标题:Analyzing Catastrophic Backtracking Behavior in Practical Regular Expression Matching
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We develop a formal perspective on how regular expression matching works in Java, 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.
提交历史
来自:EPTCS[v1] 2014年5月22日 星期四 02:12:34 UTC