Giter Club home page Giter Club logo

regexpy's Introduction

RegexPy

Yet another playground for testing Python flavoured regular expressions.
Releases are available for Linux, Windows and MacOS.

Screenshot

Shortcuts and behaviour

Linux & Windows MacOS Button Action
Ctrl+O Command+O Load sample text
Ctrl+S Command+S Save sample text
Ctrl+Shift+O Command+Shift+O Load regex
Ctrl+Shift+S Command+Shift+S Save regex
Alt+F Option+F Flag Hide/Show regex flag options
Alt+T Option+T Search Test the regular expression on sample text
Ctrl+M Command+M Marker Toggle scrollbar match position markers
Alt+M Option+M Menu Activate load/save menu
Ctrl+Right Option+Right Next Match
Ctrl+Left Option+Left Previous Match
Right Right Next Group
Left Left Previous Group
Alt+A Option+A Return to anchor
(after hovering over another match/group)
Escape/mouse click Escape/mouse click Exit navigation mode
Tab/Shift+Tab Tab/Shift+Tab Move focus
Ctrl+Tab Option+Tab Type a tab character in regex or sample

Hover over matches/groups to identify their indexes.

Last saved regex, last loaded/saved sample and flags are reloaded on restart.

Edit the sample config file to suit, e.g. highlighting colours.

Highlighting

Screenshot

(Colours can be changed in regexpy.conf but adjacent matches or groups
are automatically rendered darker or lighter to suit theme.)

Dependencies

Python >= 3.7, PySide6, Qt >= 6.4

(Only required when run as a Python script, see release notes below.)

Releases

These are standalone 'executables' that include all necessary libraries. Furthermore, they do not require Python to be installed.

Note: They are pyinstaller generated self extracting archives. By default they launch from a terminal window,
to suppress this use the --noconsole option.

regexpy's People

Contributors

mycir avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.