> Oh yes, that's better I think. I took the regexp from > http://projects.edgewall.com/trac/browser/sandbox/notification/trac/tests/notification.py > and I wasn't aware of those email.Utils functions, but well, why would we > reinvent the wheel?
Note: This RE in the notification unit test has been added on purpose: do not rely on the email library to validate data generated by ... the email library. This may look like as reinventing the wheel but ... there are a lot of yet-to-resolve issues or not complete features in this lib, so I prefered not to rely on it to perform basic validations. -- Manu _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
