Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
steven5538 committed Jun 17, 2018
1 parent beb08a4 commit 905a213
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# emotlib: Python emoji + emoticon Library


![PyPI - Python Version](https://img.shields.io/pypi/pyversions/emotlib.svg)
![PyPI](https://img.shields.io/pypi/v/emotlib.svg)
![Travis branch](https://img.shields.io/travis/steven5538/emotlib/master.svg)
![Coveralls github](https://img.shields.io/coveralls/github/steven5538/emotlib.svg)
![Read the Docs](https://img.shields.io/readthedocs/emotlib.svg)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/emotlib.svg)](https://pypi.org/project/emotlib/)
[![PyPI](https://img.shields.io/pypi/v/emotlib.svg)](https://pypi.org/project/emotlib/)
[![Travis branch](https://img.shields.io/travis/steven5538/emotlib/master.svg)](https://travis-ci.org/steven5538/emotlib)
[![Coveralls github](https://img.shields.io/coveralls/github/steven5538/emotlib.svg)](https://coveralls.io/github/steven5538/emotlib)
[![Read the Docs](https://img.shields.io/readthedocs/emotlib.svg)](http://emotlib.readthedocs.io/en/latest/)
![PyPI - License](https://img.shields.io/pypi/l/emotlib.svg)


Installation
------------

Expand Down
12 changes: 5 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# emotlib: Python emoji + emoticon Library


![PyPI - Python Version](https://img.shields.io/pypi/pyversions/emotlib.svg)
![PyPI](https://img.shields.io/pypi/v/emotlib.svg)
![Travis branch](https://img.shields.io/travis/steven5538/emotlib/master.svg)
![Coveralls github](https://img.shields.io/coveralls/github/steven5538/emotlib.svg)
![Read the Docs](https://img.shields.io/readthedocs/emotlib.svg)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/emotlib.svg)](https://pypi.org/project/emotlib/)
[![PyPI](https://img.shields.io/pypi/v/emotlib.svg)](https://pypi.org/project/emotlib/)
[![Travis branch](https://img.shields.io/travis/steven5538/emotlib/master.svg)](https://travis-ci.org/steven5538/emotlib)
[![Coveralls github](https://img.shields.io/coveralls/github/steven5538/emotlib.svg)](https://coveralls.io/github/steven5538/emotlib)
[![Read the Docs](https://img.shields.io/readthedocs/emotlib.svg)](http://emotlib.readthedocs.io/en/latest/)
![PyPI - License](https://img.shields.io/pypi/l/emotlib.svg)


Installation
------------

Expand Down
2 changes: 1 addition & 1 deletion emotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def emojify(text, alias='_'):
I'm 👨‍💻
"""

pattern = re.compile(u"(:[%sa-zA-Z0-9&.()!$_ ]*:)" % alias)
pattern = re.compile(u'(:[%sa-zA-Z0-9&.()!$_ ]*:)' % alias)

def repl(match):
val = match.group(1)[1:-1].replace(alias, ' ')
Expand Down

0 comments on commit 905a213

Please sign in to comment.