Skip to content

Commit

Permalink
Make sqlite regexp function case-sensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed May 18, 2018
1 parent 024faa9 commit 909ed5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playhouse/sqlite_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def delete_by_id(cls, pk):
OP.MATCH = 'MATCH'

def _sqlite_regexp(regex, value):
return re.search(regex, value, re.I) is not None
return re.search(regex, value) is not None


class SqliteExtDatabase(SqliteDatabase):
Expand Down

0 comments on commit 909ed5f

Please sign in to comment.