﻿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
5709	modify forms.RegexField to support inverse matching	Nathan Hoover <nathan@…>	Nathan Hoover	"For conveinence, it would be nice if the !RegexField supported inverse matching; i.e. the contents of the field do NOT match the regex when they're valid. I needed this in the course of using a !RegexField for username signups. I have a list of undesirable usernames, like so:
{{{
#!python
INVALID_USERNAME_REGEX = '(admin|root|add|edit|administrator|service)'
}}}
Since it's not trival to make a regex that uses `^` against words rather than characters this is useful.
"		closed	Forms	dev		wontfix	RegexField		Design decision needed	1	0	0	0	0	0
