Skip to content

Ttibsi/re-view

Repository files navigation

RE-VIEW - Regex Viewer

A TUI application for viewing and testing regex.

Commands:

  • Press tab to switch from the regex textbox and the test textbox.
  • Press enter in the regex textbox to test your regex.
  • C-q to quit

Re-view will tell you if you've got a valid regex or not.

asciicast

HOW TO RUN

Download a binary for your operating system from the releases page. You will need to add it to your PATH to easily run it. The run command is re-view. You can also pass a pre-formed regex as an argument to the executable - ex: re-view "[tf]oo"

Prerequisites: cmake, make

cmake -S . -B build/ && cmake --build build/
./build/src/foo

Add the -DRUN-TESTS=OFF flag to cmake to disable the tests being included.

To run unit tests, simply run ctest in the build/directory.

This repo was generated by cookiecutter-cpp

About

REgex VIEWer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published