<div dir="ltr">Hi<div>I was working on <a href="http://bz.selenic.com/show_bug.cgi?id=4141">issue 4141</a> and I'm having a hard time writing a test.</div><div><br></div><div>The output is like this:</div><div><br></div>
<div><div><font face="courier new, monospace">warning! multiple installs of hg detected:</font></div><div><font face="courier new, monospace">  /home/prasoon/work/hgwork/hg</font></div><div><font face="courier new, monospace">  /usr/bin/hg...</font></div>
</div><div><br></div><div>How do I match this output with a regex? Note that there can be any number newlines (one for each mercurial install). I tried this using this:</div><div><br></div><div><span style="font-family:'courier new',monospace">warning! multiple installs of hg detected:[\S\s]*... (re)</span><br>
</div><div><span style="font-family:'courier new',monospace"><br></span></div><div><font face="arial, helvetica, sans-serif">but it doesn't seem to be working. So, how can this output be matched?</font></div></div>