﻿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
10625	Ewkt regexp incorrectly escaped in GeoDjango admin javascript	timlinux	springmeyer	"Hi

in http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/templates/gis/admin/openlayers.js the regexp on line 3 is incorrectly escaped, causing conversion from ewkt to wkt to fail for me. I fixed it by changing:

{{{
new RegExp(""^SRID=\d+;(.+)"", ""i"");
}}}

to 

{{{
new RegExp(""^SRID=\\d+;(.+)"", ""i"");
}}}

After which it correctly works for me. Would be great if you can apply this fix.

Thanks

Tim
"	Bug	closed	GIS	dev	Normal	fixed	regexp ewkt	chris.chamberlin@…	Accepted	1	0	0	0	0	0
