summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/base.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2020-11-15 16:58:46 +0100
committerMike Bayer <mike_mp@zzzcomputing.com>2020-11-19 13:49:32 -0500
commitec264a5a2c810394ee4ebd7a78f83fc0ea785c1f (patch)
tree8b4caff6a39429167584bcb4f9f5c39c1fbecc41 /lib/sqlalchemy/sql/base.py
parentcef2871ef99af3cc6a40d98a2651c6dad7542d75 (diff)
downloadsqlalchemy-ec264a5a2c810394ee4ebd7a78f83fc0ea785c1f.tar.gz
Use ``re.search`` instead of ``re.match`` in sqlite
Use python ``re.search()`` instead of ``re.match()`` as the operation used by the :meth:`Column.regexp_match` method when using sqlite. This matches the behavior of regular expressions on other databases as well as that of well-known SQLite plugins. Fixes: #5699 Change-Id: I14b2c7faf51fef172842aeb2dba2500f14544f24
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
0 files changed, 0 insertions, 0 deletions