mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +00:00
Fixed #6047 -- Minor correction to the documentation regarding regex field lookups. Thanks to Richard D. Worth for the suggestion, and Steve Holden for the text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7cbc232909
commit
423b5c1e14
1 changed files with 4 additions and 3 deletions
|
|
@ -1512,9 +1512,10 @@ regex
|
||||||
|
|
||||||
Case-sensitive regular expression match.
|
Case-sensitive regular expression match.
|
||||||
|
|
||||||
The regular expression syntax is that of the database backend in use. In the
|
The regular expression syntax is that of the database backend in use.
|
||||||
case of SQLite, which doesn't natively support regular-expression lookups, the
|
In the case of SQLite, which has no built in regular expression support,
|
||||||
syntax is that of Python's ``re`` module.
|
this feature is provided by a (Python) user-defined REGEXP function, and
|
||||||
|
the regular expression syntax is therefore that of Python's ``re`` module.
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue