title: Can't capture single quote in regex
body: <p>I am trying to capture lines that look like this, for example:</p>
  
  <pre><code>2016/07/27 21:37:50 [DEV][INFO] Executing Process 'Some process'
  </code></pre>
  
  <p>I am using the following regex pattern:</p>
  
  <pre><code>\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[.*\]\[.*\] Executing Process '.*'
  </code></pre>
  
  <p>However, the line is not being captured. I noticed that it works all the way up to the single quote. But if I add the single quote, it fails. I thought there might possibly be two different types of single quotes, but I copied and pasted the quote being used, and it still didn't work. Also both quotes are being generated by the same code, so one single quote should be the same as another.</p>
  
  <p>EDIT:<br>
  This the regex code.</p>
  
  <pre><code>regexPattern := `\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[.*\]\[.*\] Executing Process '.*'`
  
  log = highlight(log, regexPattern)
  ...
  func highlight(log, pattern string) string {
      regex := regexp.MustCompile(
      matches := regex.FindAllString(log, -1)
  </code></pre>
  
  <p>Edit:<br>
  I figured it out. The log that I was getting back was HTML escaped, so the single quote was actually &amp;#39. That prevented matching with the single quote</p>