Skip to main content

RE-view

TUI tool to visualize regular expressions in real time.

Command line usage

review [options] [--] [INPUT_FILE | -]

--help, -h                      show this help message
--regex REGEX, -r REGEX         set starting regex
--flags [FLAGS], -f [FLAGS]     set starting flags, defaults to M
    If -f or --flags is passed with no arguments, start program with no active
    flags.

`INPUT_FILE` is the file to be read and displayed to test the regex.
If - (a single dash) is supplied instead of a filename, the text is
read from stdin.
If `INPUT_FILE` is not supplied at all, a randomly generated Lorem-style text
will be used.

Screenshots

Coming Soon™.

Python regex reference

https://docs.python.org/3/library/re.html

Application usage

The window is divided into two parts:

  • The lower half displays the current regular expression (regex) being tested.
  • The upper half displays text that is highlighted according to the regex typed.

The text displayed in the upper part may be wrapped. Continuation of long lines start with "> ", and do not match ^, even if the multiline flag is enabled.

You may edit the regex by typing on your keyboard. The arrows, home and end keys move the cursor to edit different parts of the regex. The backspace and delete keys both erase the character before the cursor.

To change the active regex flags, press CTRL-F to enter "flag mode". While in flag mode, the currently active flags are displayed, and you may press any of the given keys to activate or deactivate the corresponding flag.

If you enable a flag that is incompatible with any others, these others will be disabled and the new one will take place.

Release files for re-view 0.11.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for re-view 0.11.2
File Size Uploaded
re-view-0.11.2.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for re-view 0.11.2
File Interpreter ABI Platform
re_view-0.11.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.5 kB

Release files / re-view-0.11.2.tar.gz

Download URL re-view-0.11.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e7842730be925b529ff6f93d5f91fb6ca1b650f4353f34e31aecb863121ba621
BLAKE2b-256 checksum
How to use checksums
1c4dad2ba7520008a722d1a340a3fe2c5459b7a3760b73a99e99d9e4314c965d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

Release files / re_view-0.11.2-py3-none-any.whl

Download URL re_view-0.11.2-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b08afed12acf4c1164f21822afbff62bcd3a201fcc6e90607d02f79f289feffd
BLAKE2b-256 checksum
How to use checksums
e6d7182a06d903700f2ae76be1db89166253b658cf0fbbe69162d8c042e29198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

Release history Release notifications | RSS feed

0.12.0

2 release files

This release

0.11.2 This release

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page