[Tutor] Formatting

Senthil Kumaran orsenthil at gmail.com
Wed Feb 25 06:30:25 CET 2009


On Wed, Feb 25, 2009 at 10:37 AM, prasad rao <prasadaraon50 at gmail.com> wrote:
>
> licenseRe = re.compile(r'\(([A-Z]+)\)( No. (\d+))?')

Change that to:

licenseRe = re.compile(r'\(([A-Z]+)\)\s*(No.\d+)?')

It now works.


Thanks,
Senthil


More information about the Tutor mailing list