https://github.com/iawia002/rec
a collection of some useful regular expressions.
https://github.com/iawia002/rec
python re
Last synced: 7 months ago
JSON representation
a collection of some useful regular expressions.
- Host: GitHub
- URL: https://github.com/iawia002/rec
- Owner: iawia002
- License: mit
- Created: 2017-11-18T06:54:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T11:26:34.000Z (over 7 years ago)
- Last Synced: 2025-02-25T16:49:11.417Z (8 months ago)
- Topics: python, re
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
rec
===.. image:: https://travis-ci.org/iawia002/rec.svg?branch=master
:alt: Build Status
:target: https://travis-ci.org/iawia002/rec.. image:: https://codecov.io/gh/iawia002/rec/branch/master/graph/badge.svg
:target: https://codecov.io/gh/iawia002/reca collection of some useful regular expressions.
Hello, world
------------Installation
.. code-block:: bash
pip install rec
Example
.. code-block:: python
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 `_
🌙