sponsor Vim development Vim logo Vim Book Ad

redebug : An interactive Python regular expression debugger.

 script karma  Rating 0/0, Downloaded by 85  Comments, bugs, improvements  Vim wiki

created by
Paul Ollis
script type

A Python regular expression debugger within Vim.

This is my first release of a VPE based plugin.

There are a number of these on-line, such as https://pythex.org/, but I do not
like having to switch to a browser to debug a regular expression. Also, I have
not found one that works really well for me.


A single command |Redebug| is added by this plugin. Run this command, press
<F1> to expand the help and try it out.


    :help redebug.txt

For more information.


This version represents the minimum quality I want for day-to-day use. I do
have plans to upgrade it.

    - Do a better job of keeping the most useful information visible
      when editing windows are opened.
    - Provide a way for users to change the colours.
    - Ideally make the default colours be based on the user's colour scheme.
      This needs to work in a way that uses background colours in an
      intelligent manner.
    - Add some clean ways to set the test text and regular expression from
      other buffers.
    - Also allow ways to view the results of other operations, such as
    - Support debugging of Vim regular expressions.

Some more ambitious possible future enhancements.

    - Some form of advanced expression analysis.
    - Store a history of previous debug sessions.
install details
Redebug requires at least Vim 8.0 + Python 3.6 support and the VPE extensions

This needs VPE 0.5.2 or better.

Redebug needs syntax highlighting to be enabled in order to get useful

Redebug is a VPE plug-in. To install:

    1. If not done already, install VPE.

    2. Change to your $HOME/.vim (Linux) or $HOME/vimfiles directory.

    3. Unzip the installation file.

This will create files in sub-directories vpe_plugins and vpe_plugins/doc.

Help is provided, run:

    :helptags ALL

to generate the help tags.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
redebug-0.1.zip 0.1 2021-03-20 8.0 Paul Ollis Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.