On Wed, Feb 25, 2009 at 10:37 AM, prasad rao <[email protected]> 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
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to