Skip to content

jarvainen/pyre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Pyre - Python regex tool

Didn't learn to use awk or grep? This tool uses python regex syntax to parse stdin.

Installation

Clone: git clone [email protected]:jarvainen/pyre.git or just copy the code, it's one simple script.

Add to PATH or symlink to /bin.

Usage

First parameter is regex, second parameter is output format: echo 'Firstname Lastname' | pyre '(.*) (.*)' '2, 1'

Output format is string where numbers represent capture group.

About

Python regex tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages