Browse Source

* Apparently the PHP ereg function doesn't think that \s is space, \t is
tab, \w is whitespace. Just changed \s ('\\s' to get past one level of
unescaping) into a space. All is better.

Tyler Akins 24 years ago
parent
commit
eb75066b40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/compose.php

+ 1 - 1
src/compose.php

@@ -77,7 +77,7 @@
          for ($i=0; isset($body_ary[$i]); $i++) {
          for ($i=0; isset($body_ary[$i]); $i++) {
             if (! $forward_id)
             if (! $forward_id)
             {
             {
-                if (ereg('^[\\s>]+', $body_ary[$i]))
+                if (ereg('^[ >]+', $body_ary[$i]))
                 {
                 {
                     $body_ary[$i] = '>' . $body_ary[$i];
                     $body_ary[$i] = '>' . $body_ary[$i];
                 }
                 }