Skip to content

Commit

Permalink
Merge pull request #13 from NeelShah18/version3.0
Browse files Browse the repository at this point in the history
solved oo problem now it will be dirrenet oo and oO
  • Loading branch information
NeelShah18 committed Nov 15, 2018
2 parents 53b066a + 6763626 commit e0db2c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion emot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def emoticons(string):
__entities = []
__value = []
__location = []
matches = re.finditer(r"%s"%pattern,str(string),re.IGNORECASE)
matches = re.finditer(r"%s"%pattern,str(string))
for et in matches:
__value.append(et.group().strip())
__location.append([et.start(),et.end()])
Expand Down
2 changes: 1 addition & 1 deletion emot/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import cProfile

def test_emo():
test = "I love it, 👨 :-) 🏁:-) :-)🏁 :-) 🏁 <3"
test = "I love it, 👨 :-) 🏁:-) :-)🏁 :-) 🏁 <3 oo oO "
print(emo.emoji(test))
print(emo.emoticons(test))
print(test[27:30])
Expand Down

0 comments on commit e0db2c7

Please sign in to comment.