Re: [Tutor] matching a street address with regular expressions

2007-10-11 Thread John Nagle
Shawn Milochik wrote: > On 10/4/07, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: >> Christopher Spears wrote: >>> One of the exercises in Core Python Programming is to >>> create a regular expression that will match a street >>> address. Here is one of my attempts. This is actually quite difficul

Re: [Tutor] matching a street address with regular expressions

2007-10-10 Thread Shawn Milochik
On 10/4/07, Ricardo Aráoz <[EMAIL PROTECTED]> wrote: > Christopher Spears wrote: > > One of the exercises in Core Python Programming is to > > create a regular expression that will match a street > > address. Here is one of my attempts. > > > street = "1180 Bordeaux Drive" > patt = "\d+