其他分享
首页 > 其他分享> > What's the difference between re.DOTALL and re.MULTILINE? [duplicate]

What's the difference between re.DOTALL and re.MULTILINE? [duplicate]

作者:互联网

What's the difference between re.DOTALL and re.MULTILINE? [duplicate]

They are quite different. Yes, both affect how newlines are treated, but they switch behaviour for different concepts.

 

标签:DOTALL,What,re,switch,MULTILINE,foo,match
来源: https://www.cnblogs.com/chucklu/p/14129490.html