Skip to content

Python3/PyQt4 application to test regular expressions functions on a text.

License

Notifications You must be signed in to change notification settings

Hamza5/Basic-Regular-Expressions-Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BRET

Basic Regular Expressions Tester

Description

BRET is a Python3/PyQt4 application made in order to help writers of regular expressions to test their RegExps.

Features

BRET has 3 modes of using the regular expressions :

  • Find matches : Text will be searched to find every part that match the regular expression, each match will be displayed.
  • Search and replace : Text will be returned replacing each part that match the regular expression by a given expression.
  • Split text : Text will be fragmented on each part that matches the regular expression.

The text can be typed directly, loaded from a file, or downloaded from the web. The text file need to be encoded in UTF-8.

Dependencies

In oreder to use BRET, both Python 3 and PyQt4 must be installed on your system.

Usage

BRET comes in 2 versions, command line version and GUI version. The command line script can be found at script/bret.py. You can learn how to use it by typing in the terminal script/bret.py --help The GUI program is bret-pyqt.py.

License

The bret script is licensed under GNU Lesser General Public License 3 or any later version.

The GUI program is licensed under GNU General Public License 3 or any later version.

About

Python3/PyQt4 application to test regular expressions functions on a text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages