﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27781	simplify_regex() doesn't remove ? characters	Mariusz Felisiak	Mariusz Felisiak	"`django.contrib.admindocs.views.simplify_regex` leaves outstanding regex characters, e.q.

{{{#!python
>>> simplify_regex(r'^a/?$')
'/a/?'
}}}

instead of

{{{#!python
>>> simplify_regex(r'^a/?$')
'/a/'
}}}


Regression in [https://github.com/django/django/commit/f0ef0c49e9284f262fbc63e8a497699ca4a248fe f0ef0c49e9284f262fbc63e8a497699ca4a248fe] (see ticket #26621).

I'm not sure it's a bug or intentional behavior change."	Bug	closed	contrib.admindocs	1.11	Normal	fixed			Accepted	1	0	0	0	0	0
