In <[email protected]> fl 
<[email protected]> writes:

> re.M  Makes $ match the end of a line (not just the end of the string) and
>  makes ^ match the start of any line (not just the start of the string).

> But I don't see the reason to put re.M in the example project:

That's because your sample string does not contain newline characters.
If it did, you would see the effect of re.M.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to