1. Introduction
The regular expression tool Match Tracer is a tool for writing and debugging regular expressions. It provides a visual environment for writing regular expressions.
In the expression editing box, different components in the expression are displayed in different colors. During expression writing, the tree structure and grouping information of the expression are updated synchronously, so that the structure of the expression is clear at a glance. When the cursor is moved in the editing box, the entire element of the position is highlighted.
Features of the software:
Visual compiling environment, tree structure, and group information synchronously updated.
You can export expressions to code in multiple programming languages.
You can import expressions from C ++ and other programming languages.
Supports Perl-Compatible Regular syntax and advanced features such as recursive matching, conditional expressions, and naming groups.
1. Main Program Interface
Note:
Serial number |
Name |
Description |
① |
Regular Expression edit box |
Write a regular expression and use different colors to display different components of the regular expression. |
② |
Text Box |
Write or open the matched text. |
③ |
Tree Structure of expressions |
Displays the tree structure of the expression, which is updated along with the expression editing. |
④ |
Group information box |
Display the capture group in the expression, including the named group, which is updated along with the expression editing. |
⑤ |
Match button |
Find and match button. |
2. program language code Import and Export
Note:
- When using compiled regular expressions in a program, you can use the "generate code" function. This tool generates the corresponding code based on the character string expression rules in various languages.
- When the expressions in the program need to be written and debugged again, you can use the "Import code" function. This tool will be restored to a regular expression based on the string expression rules.
: Http://www.regexlab.com/download? /Mtracer/MTracer.zip