DocumentCode :
2536598
Title :
Translating Regular Expression Matching into Transducers
Author :
Minamide, Yasuhiko ; Sakuma, Yuto ; Voronkov, Andrei
Author_Institution :
Univ. of Tsukuba, Tsukuba, Japan
fYear :
2010
fDate :
23-26 Sept. 2010
Firstpage :
107
Lastpage :
115
Abstract :
Regular expression matching is an essential tool in string manipulating programs and plays crucial roles in scripting languages. We focus on regular expression matching based on the strategy of Perl and develop a translation from regular expression matching into transducers. The representation makes it possible to apply the theory of formal languages in static analysis and verification of string manipulating programs. We first formulate the semantics of regular expression matching as a nondeterministic parser. Then, we transform the nondeterministic parser into deterministic one by introducing look ahead. From the definition of the deterministic parser, we can easily construct transducers through transducers with regular look ahead. We have implemented the translation and conducted experiments on regular expressions found in several popular PHP programs.
Keywords :
authoring languages; formal languages; string matching; PHP program; formal languages; nondeterministic parser; regular expression matching; scripting language; static analysis; string manipulating program; Approximation methods; Data preprocessing; Doped fiber amplifiers; Formal languages; Semantics; Syntactics; Transducers;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2010 12th International Symposium on
Conference_Location :
Timisoara
Print_ISBN :
978-1-4244-9816-1
Type :
conf
DOI :
10.1109/SYNASC.2010.50
Filename :
5715276
Link To Document :
بازگشت