Margus Veanes, Peli de Halleux, and Nikolai Tillmann
October 2009
Constraints in form regular expressions over strings are ubiquitous. They occur often in programming languages like Perl and C#, in SQL in form of LIKE expressions, and in web applications. Providing support for regular expression constraints in program analysis and testing has several useful applications. We introduce a method and a tool called Rex, for symbolically expressing and analyzing regular expression constraints. Rex is implemented using the SMT solver Z3, and we provide experimental evaluation of Rex.
![]() PDF file |
Publisher: Microsoft Research
© 2009 Microsoft Corporation. All rights reserved.
| Type: | TechReport |
| Number: | MSR-TR-2009-137 |