title: Python regex not seen in line reading ADB Logcat
body: <p>Apologies for the potentially obvious answer.  Using Python 2.7 I am reading an Android ADB logcat stream on the fly line by line.  I am trying to capture the point at which the SIM comes into service on the handset.  I am ok reading other (non regex) strings and successfully capture particular points in the logcat stream, but for some reason my regex is missed.  The last time I used regex on this scale was with Perl, so my interpretation into Python may be a bit skewed.</p>
  
  <p>Here is the string I am trying to capture...</p>
  
  <pre><code>&lt; OPERATOR {Orange, Orange, 23430} [ptt1]
  </code></pre>
  
  <p>but equally the string coud be this for another operator...</p>
  
  <pre><code>&lt; OPERATOR {O2 - UK, O2 - UK, 23410} [ptt5]
  </code></pre>
  
  <p>My regex attempt is this...</p>
  
  <pre><code>\&lt;\sOPERATOR\s\{\w+\,\s\w+\,\s\d+\}\s\[\w+\d\]
  </code></pre>
  
  <p>Is there anywhere obvious I am going wrong?  Am I using "\" in too many places?</p>
  
  <p>Thanks for your time,</p>
  
  <p>MikG</p>