| Version 3 (modified by szabgab, 2 years ago) (diff) |
|---|
Description
Padre provides an easy way to build and analyze regular expressions compatible with Perl 5.
Test Case
The regex editor currently provides a single way to build both regexes and substitutes.
- Open the Regex editor via Tools/Regex? Editor
- At the top you see 5 check-boxes for the modifiers of the regex
- The first window called Regular Expression is where you can type in the regex. By default you will see \w+ in there
- The Replace with text contains Baz
- Original text contains Foo Bar
- Matched text Foo Bar with Foo being red and underline
- Result from replace contains Baz Bar
TODO
- Support various versions of the perl 5 regexes (5.8, 5.10, 5.12 etc)
- There should be an option (a selector on this window) to decide which regex dialect to support
- (That is, there are certain new features in the regex engine and information about then under the buttons should be displayed along witht the minimum version required)
- Support Perl 6 style regexes
- Probably the regex and substitute part should be separated. At the top should be
- Regular Expression
- Original text
- Matched text
- checkbox to enable/disable substitution
- Replace with text window
- Result from replace window
Attachments
-
regex_editor.png
(46.3 KB) -
added by szabgab 2 years ago.
regex editor in 0.84

