Liam Clarke wrote:

> To the Tutor list - can't re.MULTILINE also be used? I've never really
> used that flag.

re.MULTILINE affects the meaning of ^ and $ - do they match only the 
beginning and end of the target string (the default) or do they match 
the beginning or end of any line in the string.

re.DOTALL affects the meaning of . - does it match newlines or not?

The docs on these flags are pretty clear, take a look.

Kent


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to