New submission from Eric Cousineau:
[Copying post I made here:
http://stackoverflow.com/questions/12082886/bug-in-python-regex-re-sub-with-re-multiline]
I'm noticing some odd behavior in Python's Regex library, and I'm not sure if
I'm doing something wrong.
If I run a regex on it using
Eric Cousineau added the comment:
Looks like I was just writing my code incorrectly - I should have been using
re.sub(..., flags = re.MULTILINE).
That explains it.
--
resolution: - invalid
status: open - closed
___
Python tracker