a collection of some useful regular expressions.
Project description
a collection of some useful regular expressions.
Hello, world
Installation
pip install rec
Example
In [1]: import rec
In [2]: rec.domain('http://bangumi.bilibili.com/anime/1089')
Out[2]: [u'bilibili.com']
In [3]: rec.domain('http://bangumi.bilibili.com/anime/1089', root=False)
Out[3]: ['bilibili']
Documentation
See doc.md
🌙
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rec-0.1.1.tar.gz
(3.6 kB
view hashes)