diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 0d6fb51fb4..6dcd29bde7 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -57,7 +57,7 @@ class NoticesearchAction extends SearchAction $this->q = $this->trimmed('q'); // FIXME: very dependent on tag format - if (preg_match('/^#([\pL\pN_\-\.]{1,64})/ue', $this->q)) { + if (preg_match('/^\#([\pL\pN_\-\.]{1,64})/u', $this->q)) { common_redirect(common_local_url('tag', array('tag' => common_canonical_tag(substr($this->q, 1)))), 303);