summaryrefslogtreecommitdiff
path: root/django/utils/regex_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-38/+40
|
* Refs #30899 -- Made _lazy_re_compile() support bytes.Hasan Ramezani2019-10-291-1/+1
|
* Refs #30899 -- Moved _lazy_re_compile() to the django.utils.regex_helper.Hasan Ramezani2019-10-291-0/+18
|
* Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵Дилян Палаузов2018-01-121-2/+1
| | | | continue statements.
* Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns.Tim Graham2017-09-221-10/+0
| | | | Per deprecation timeline.
* Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan2017-02-111-19/+11
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+0
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-2/+1
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #27648 -- Deprecated (iLmsu) regex groups in url() patterns.Tim Graham2016-12-271-4/+11
|
* Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham2016-09-171-2/+2
| | | | http://bugs.python.org/issue27364
* Fixed #16362 -- Allowed lookaround assertions in URL patterns.Bas Peschier2015-03-231-6/+5
|
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Fix many many typos in comments throughout the codebaseAlex Gaynor2014-04-261-1/+1
|
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Correct flake8 E302 violationsRay Ashman Jr2013-11-021-0/+5
|
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+4
|
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor2013-09-101-1/+1
| | | | Thanks joseph at vertstudios.com for the suggestion.
* [py3] Ported django.utils.regex_helper.Aymeric Augustin2012-08-071-5/+6
|
* [py3] Replaced basestring by six.string_types.Aymeric Augustin2012-07-221-1/+3
|
* Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz2012-06-071-16/+17
| | | | | Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
* Replaced foo.next() by next(foo).Claude Paroz2012-05-101-14/+14
| | | | | This new syntax for next() has been introduced in Python 2.6 and is compatible with Python 3.
* Fixed #17492 -- Allow reversal of named backreferences. Thanks nate_bChris Beaven2012-01-031-4/+14
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@17336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed the reverse() call for creating URLs to convert a "." in the reg-expMalcolm Tredinnick2008-09-031-1/+1
| | | | | | | | | pattern to a "." in the final output. This hides what is probably a bug in the pattern (the user almost certainly should have written "\."), but it will avoid a large number of "bug" reports about reverse(). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed a case of incorrect parsing of quanitifers in reg-exp patterns.Malcolm Tredinnick2008-09-011-0/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@8825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #8726 -- When doing reverse URL resolving, make sure we're consistentlyMalcolm Tredinnick2008-08-311-15/+15
| | | | | | | dealing with unicode strings throughout by promoting up from UTF-8 as necessary. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #8725 -- Handle empty URL patterns in reverse().Malcolm Tredinnick2008-08-311-1/+5
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@8763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* A rewrite of the reverse URL parsing: the reverse() call and the "url" ↵Malcolm Tredinnick2008-08-311-0/+323
| | | | | | | | | | | | | template tag. This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks to SmileyChris and Ilya Semenov for some early patches in this area that were incorporated into this change. Fixed #2977, #4915, #6934, #7206. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Revert [7849] and [7850]. Brain failure on my part.Malcolm Tredinnick2008-07-061-123/+0
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@7851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Started to work on the regex reverse-engineering phase.Malcolm Tredinnick2008-07-061-0/+123
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7850 bcc190cf-cafb-0310-a4f2-bffc1f526a37