regex alternation problem

Paul McGuire ptmcg at austin.rr.com
Fri Apr 17 18:30:24 EDT 2009


On Apr 17, 5:28 pm, Paul McGuire <pt... at austin.rr.com> 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...



More information about the Python-list mailing list