From 50796079fa0f129b0fd084e80f345837dccee0e3 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 9 May 2018 17:09:38 -0700 Subject: loose ends discovered while fixing hubzilla #1166 --- include/text.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/text.php b/include/text.php index 5be44c3cb..681103389 100644 --- a/include/text.php +++ b/include/text.php @@ -816,7 +816,7 @@ function get_tags($s) { // match any double quoted tags - if(preg_match_all('/([@#!]\"\;.*?\"\;)/',$s,$match)) { + if(preg_match_all('/([@#\!]\"\;.*?\"\;)/',$s,$match)) { foreach($match[1] as $mtch) { $ret[] = $mtch; } @@ -833,7 +833,7 @@ function get_tags($s) { // Pull out single word tags. These can be @nickname, @first_last // and #hash tags. - if(preg_match_all('/(?