[EMAIL PROTECTED] wrote:

>  After may frustrated attempts I came to know that "match" function
>  in python re package actually start the matchs at the begining of the
>  subject, where "search" will find the given pattern any where in the
>  subject.
>
>  My Problem is, I want to know how can I force match functions to
>  match the pattern any location in the subject. i.e I want to turn off
>  before said behaviour.

re.match = re.search

perhaps?

Stupid thing to do, but it meets the spec.

Cheers,
Terry


-- 
Terry Hancock ([EMAIL PROTECTED])
Anansi Spaceworks http://www.AnansiSpaceworks.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to