[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
Líkið Geimfari edited this page Aug 24, 2017 · 5 revisions

Build Status PyPI version

expynent is a tiny library that provides regular expression patterns. This can be useful if you don't want to write regular expression manually. Also you can use this library as fixture for testing framework like a py.test.

Installation

~ git clone https://github.com/lk-geimfari/expynent.git
➜  ~ cd expynent/
➜  ~ python setup.py install

or

~  pip install expynent

Usage

The first thing you need to know is the list of supported patterns that is here.

After you have seen the list of supported patterns, you need to know that, expynent provides two types of regular expression:

  1. Compiled
  2. Patterns

Just look at 'How to use compiled patterns' and 'How to use patterns'.

Clone this wiki locally