GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sidgupta234/SRL-Python: Python implementation of SRL.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

47 Commits
47 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
srl
srl
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.nose.cfg
.nose.cfg
 
 
.travis.yml
.travis.yml
 
 
HISTORY.rst
HISTORY.rst
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
setup.py
setup.py
 
 
specification.md
specification.md
 
 
tox.ini
tox.ini
 
 

Repository files navigation

SRL-Python

Python Implementation of Simple Regex.

https://travis-ci.org/SimpleRegex/SRL-Python.svg?branch=master

Installation

You can download and install the latest version of this software from the Python package index (PyPI) as below:

$ pip install srl
✨🍰✨

SRL-Python supports:

  • Python 2.7
  • Python 3.3
  • Python 3.4
  • Python 3.5
  • Pypy

Usage

Class SRL takes a Simple Regex Language string as input. SRL instance shares exactly same API with re.RegexObject:

>>> from srl import SRL
>>> srl = SRL('digit exactly 3 times')
>>> srl.pattern
'[0-9]{3}'
>>> matched = srl.search('123')
>>> matched.group()
'123'
  • Read document: Readthedocs.

Test

SRL-Python uses nose as test runner.:

$ pip install nose
$ nosetests -c ./nose.cfg

License

SRL is published under the MIT license. See LICENSE for more information.

Contribution

Like this project? Want to contribute? Awesome! Feel free to open some pull requests or just open an issue.

Authors

Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself below.

  • Lin Ju <[email protected]>

About

Python implementation of SRL.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.