I'll check it out on the VM.  The main problem I was running into is that on mingw, $/ == "\n".
Depending on the regular expressions, the trailing "\r" at the end of the line would cause it to not match.