Recon - Regular Expression Test Console
Recon provides an interactive testing environment for building Python
regular expressions.
Recon requires Python 1.5.2 or later and Tkinter.
recon.py - 15k
TweakRecon.py - 22k -
An improved version by Fredrik Corneliusson. Has scrollbars, line numbers, history, and more. Requires Python 2.x (not exactly sure which minor version is required).
Notes:
-
The "re" module is used for evaluating the regular expression.
The syntax help and flags help were taken from the re module documentation.
-
The result of the match is shown by the blue parentheses inserted in the
Result window. If there are groups within the expression, the text
matched by each group is shown in nested parens.
-
The options shown in the checkboxes (with the exception of "Find All")
correspond to the flags parameter in the re.search(pattern, string
[, flags]) function.
-
The "Find All" option matches all non-overlapping occurrences in the text,
similar to the re.findall(pattern, string) function.
Feedback appreciated.
Brent Burley