Skip to content
/ PyRex Public

PyRex is a Python GUI regular expression tool. Alternative, offline version of regex101

License

Notifications You must be signed in to change notification settings

user0706/PyRex

Repository files navigation

made-with-python python-version Qt License Status Open Source? Yes!

Description

PyRex is a tool for visual testing Python regular expression.
Based on the re python package, combined with the Qt user interface, it allows a visual display of the results of a regular expression pattern.
Also, in addition to the above basic function, there is an option to generate code for the Python language.

Prerequisites

After opening the downloaded repository in cmd (Windows)/terminal (Linux/MacOS), to install the necessary packages for PyRex operation, enter the following command:

pip install -r requirements.txt --no-index --find-links file:///tmp/packages
(if not, try pip3)

Download

Windows XP or above

How to run PyRex?

Using an executable file:

Easily go through the installation process


Using raw repositories:

Execute the following commands in cmd (Windows)/terminal (Linux/MacOS):

  • Download repository
git clone https://github.com/user0706/PyRex.git
  • Entry into the download repository
cd PyRex
  • Start the program
python main.py
(if not, try python3)

What's new:

  • Code generator for Python regex

Screenshots

To-Do

  • Python code generator
  • support for PHP regular expression
  • support for JavaSrcript regular expression