No, I did not convert the \r\n to \n. I didn't even think of that. How can I change that?
When I did the debug statement, the line did print out. However the regex did not match it for some reason. I was able to rewrite the code in a new document and it worked. I'm not exactly sure why the original file did not work.