Opened 4 years ago

Last modified 3 years ago

#924 new enhancement

(wishlist) user-defined regex library, previously defined regexes, and Regexp::Common in the Regex Editor

Reported by: zenogantner Owned by:
Priority: minor Milestone:
Component: Regex Editor Version: trunk
Keywords: Cc:

Description

It would be nice to let the user maintain a collection of regexes.
Such regexes could then be inserted into the Regex Editor.
I have attached a screenshot from MonoDevelop? for illustration.

Another neat feature would be to check whether Regexp::Common is installed/imported and then offer some of its regexes as components in the Regex Editor.

A third thing would be to check whether in the scope of the current cursor position in the current file there are scalar variables that where create using qr, and to offer those as well.

Attachments (1)

regex_editor-library.png (35.1 KB) - added by zenogantner 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by zenogantner

comment:1 Changed 4 years ago by zenogantner

Another related extension would be to support the insertion of regexes and strings defined in the current document (prior to the current position) into the current regex.

comment:2 Changed 3 years ago by szabgab

  • Component changed from advanced perl tools to Regex Editor

comment:3 Changed 3 years ago by szabgab

The Snippets Edit -> Insert -> Snippets already have a section called Regex that as I can seee has a single entry.

Note: See TracTickets for help on using tickets.