regex alternation problem

Jesse Aldridge JesseAldridge at
Sat Apr 18 02:45:14 CEST 2009

On Apr 17, 5:30 pm, Paul McGuire <pt... at> wrote:
> On Apr 17, 5:28 pm, Paul McGuire <pt... at> wrote:> -- Paul
> > Your find pattern includes (and consumes) a leading AND trailing space
> > around each word.  In the first string "I am an american", there is a
> > leading and trailing space around "am", but the trailing space for
> > "am" is the leading space for "an", so " an "- Hide quoted text -
> Oops, sorry, ignore debris after sig...

Alright, I got it.  Thanks for the help guys.

More information about the Python-list mailing list