Most major programming languages support regular expressions, but the features, performance, and matching behavior depend on the engine. Therefore we think it is pedagogically useful for students to see how a regular expression engine works, and for that purpose, the simpler the engine the better. We present a regular-expression engine written in 70 lines of Python 2.7, of which only 44 relate to matching. The engine is driven by the structure of the regular expression and tracks sets of all possible ending positions of a match. We believe it is much simpler than an implementation using backtracking or based on finite automata. The engine runs in polynomial time, always finds the longest possible match, and can be trivially modified to find...
We explore the practical feasibility of a system based on genetic programming (GP) for the automatic...
AbstractOrdinary software engineers and programmers can easily understand regular patterns, as shown...
1 online resource (71 pages) : graphs, chartsIncludes abstract.Includes bibliographical references (...
Given a regular expression R and a string Q, the regular expression parsing problem is to determine ...
In the present paper, we study the match test for extended regular expressions. We approach this NP-...
Regular expressions constitute a fundamental notion in formal language theory and are frequently use...
Many programming languages and tools, ranging from grep to the Java String library, contain regular ...
A learning algorithm is developed for a class of regular expressions equivalent to the class of all ...
AbstractIn this paper we revisit the semantics of extended regular expressions (regex), defined succ...
We extend Haskell with regular expression patterns. Regular expression patterns provide means for ma...
Abstract. Regular expressions and their extensions have become a major component of industry-standar...
We develop a formal perspective on how regular expression matching works in Java1, a popular rep-res...
Regular expressions are widely used in software. Various regular expression engines support differen...
Ordinary software engineers and programmers can easily understand regular patterns, as shown by the ...
Regular expressions are routinely used in a variety of different application domains. But building a...
We explore the practical feasibility of a system based on genetic programming (GP) for the automatic...
AbstractOrdinary software engineers and programmers can easily understand regular patterns, as shown...
1 online resource (71 pages) : graphs, chartsIncludes abstract.Includes bibliographical references (...
Given a regular expression R and a string Q, the regular expression parsing problem is to determine ...
In the present paper, we study the match test for extended regular expressions. We approach this NP-...
Regular expressions constitute a fundamental notion in formal language theory and are frequently use...
Many programming languages and tools, ranging from grep to the Java String library, contain regular ...
A learning algorithm is developed for a class of regular expressions equivalent to the class of all ...
AbstractIn this paper we revisit the semantics of extended regular expressions (regex), defined succ...
We extend Haskell with regular expression patterns. Regular expression patterns provide means for ma...
Abstract. Regular expressions and their extensions have become a major component of industry-standar...
We develop a formal perspective on how regular expression matching works in Java1, a popular rep-res...
Regular expressions are widely used in software. Various regular expression engines support differen...
Ordinary software engineers and programmers can easily understand regular patterns, as shown by the ...
Regular expressions are routinely used in a variety of different application domains. But building a...
We explore the practical feasibility of a system based on genetic programming (GP) for the automatic...
AbstractOrdinary software engineers and programmers can easily understand regular patterns, as shown...
1 online resource (71 pages) : graphs, chartsIncludes abstract.Includes bibliographical references (...