- Notifications
You must be signed in to change notification settings - Fork8
Python implementation of SRL.
License
SimpleRegex/SRL-Python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Python Implementation ofSimple Regex.
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
Class SRL takes a Simple Regex Language string as input.SRL instance shares exactly same API withre.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.
SRL-Python uses nose as test runner.:
$ pip install nose$ nosetests -c ./nose.cfg
SRL is published under the MIT license. See LICENSE for more information.
Like this project? Want to contribute? Awesome! Feel free to open some pull requests or just open an issue.
Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself below.
- Lin Ju <soasme@gmail.com>
About
Python implementation of SRL.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.