🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/755
**Author:** [@lk-geimfari](https://github.com/lk-geimfari)
**Created:** 10/21/2016
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `patch-3`
---
### 📝 Commits (1)
- [`411c92d`](https://github.com/vinta/awesome-python/commit/411c92d848f5948d1229fdc3ae6d4503b3cbf477) Update README.md
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
**expynent** is a tinny library that provides RegEx patterns. This can be useful if you don't want to write regular expression manually.
#### Usage
Just import the pattern that you want:
``` python
import re
import expynent.patterns as expas
if re.match(expas.ZIP_CODE['RU'], '43134'):
print('match')
else:
print('not match')
# Output: 'not match'
```
also you can use compiled patterns:
``` python
from expynent.compiled import username
u = input('Enter username: ')
if username.match(u):
print('valid')
else:
print('invalid')
```
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/755
Author: @lk-geimfari
Created: 10/21/2016
Status: ❌ Closed
Base:
master← Head:patch-3📝 Commits (1)
411c92dUpdate README.md📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
expynent is a tinny library that provides RegEx patterns. This can be useful if you don't want to write regular expression manually.
Usage
Just import the pattern that you want:
also you can use compiled patterns:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.