Fixing the other RegExes as well since they were also not using the u modifier

This commit is contained in:
Mike van Riel
2012-07-13 20:07:51 +02:00
parent cfc74b22ae
commit 49040c9104
2 changed files with 2 additions and 2 deletions
@@ -35,7 +35,7 @@ class LongDescription implements \Reflector
*/
public function __construct($content)
{
if (preg_match('/\{\@(.+?)\}/', $content, $matches)) {
if (preg_match('/\{\@(.+?)\}/u', $content, $matches)) {
array_shift($matches);
foreach ($matches as $tag) {
$this->tags[] = Tag::createInstance('@' . $tag);