title: Regex works in test file, not in program (HTTP raw response)
body: <p>I am attempting to debug a regex, and for the life of me, I cannot figure out why it works in the test file, but not elsewhere.</p>
  
  <p>I am receiving a raw HTTP response, and have parsed out the section of interest: </p>
  
  <pre><code>UID:5F12F7DA-10B0-4EE3-820D-B56F0B2FC153
  DTSTAMP:20120408T041113Z
  CLASS:PUBLIC
  CREATED:20120408T041113Z
  DESCRIPTION:Testfghfghfghfghfghfghfghfghfghfghfghfghfghfghfgh
  DTSTART;TZID=America/New_York:20120410T000000
  DTEND;TZID=America/New_York:20120419T010000
  LAST-MODIFIED:20120408T041228Z
  LOCATION:Philadelphia\, PA
  SEQUENCE:1
  SUMMARY:Test
  TRANSP:OPAQUE
  </code></pre>
  
  <p>Each line ends in (hex:0D0A), which should be '\r\n'.</p>
  
  <p>Here's the call for the summary:</p>
  
  <p>$this->Summary = \Extract\Extract::GetSummary($vevent);</p>
  
  <p>And here's the function:</p>
  
  <pre><code>public static function GetSummary($String) {
              $re1='.*?'; # Non-greedy match on filler
              $re2='(SUMMARY)';   # Word 1
              $re3='(:)'; # Any Single Character 1
              $re4='(.*?)';   # Non-greedy match on filler
              $re5='(\r\n)';  # Any Single Character 2
  
              if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5."/is", $String, $matches))
              {
  
                  $word1=$matches[1][0];
                  $c1=$matches[2][0];
                  $word2=$matches[3][0];
                  return $word2;
              }
  
          }
  </code></pre>
  
  <p>Preg_match_all evaluates true in my test file, but false in my program. Any ideas? Something about the raw string it doesn't like, or isn't being copied into my test file (so I can't find it)? </p>