> I use this regexp in the GLOBAL_BAN_LIST > > ^[0-9a-z.]{8,}\+[0-9a-z]{4,}@gmail\.com$ I'm getting errors with the above however it seems to do the job if I enclose it in quotes and remove the trailing $ - like so: GLOBAL_BAN_LIST = ['^[0-9a-z.]{6,}\+[0-9a-z]{4,}@gmail\.com'] Am I missing something? Cheers, Mark