2016 · 31 citations · 6 references
ComputingComputer ScienceAlgorithmsFormal MethodsProgramming LanguagesAutomata TheoryData-flow AnalysisFinite AutomataFormal LanguagesRegular LanguagesExponential Time ComplexityFormal ReasoningPattern MatchingPattern Matching AlgorithmsRegular Expression MatchingRegular Expressions
We develop a formal perspective on how regular expression matching works in Java1, a popular rep-resentative 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. 1
6
A fast string searching algorithm
Robert S. Boyer, J Strother Moore · Communications of the ACM · 1977 · 2.3K citations · Full text
Programming Techniques: Regular expression search algorithm
Thompson Ken · Communications of the ACM · 1968 · 839 citations · Full text
Bryan Ford · 2004 · 409 citations
Computing, Computer Science, Natural Language Processing +16
Regular Expression Search Algorithm
I En Thompson · 1970 · 349 citations