On Mon, Jul 7, 2008 at 1:44 AM, Josh Rosen <[EMAIL PROTECTED]> wrote: > I was browsing through the source code of Django when I found the following > regular expression: > > tspecials = re.compile(r'[ \(\)<>@,;:\\"/\[\]\?=]') > > Shouldn't this be > functionally equivalent to the much more readable: > > tspecials = re.compile(r'[ ()<>@,;:\\"/\[\]?=]')
Yes, I think so. Try it and see! Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor