From: Vincent Vanwaelscappel Date: Mon, 19 Jan 2026 15:26:03 +0000 (+0100) Subject: #7894 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5399161425869cdcf07c7d221778426c3e90f97e;p=cubist_util.git #7894 @1 --- diff --git a/src/Text.php b/src/Text.php index b5a5cb0..62dab5a 100644 --- a/src/Text.php +++ b/src/Text.php @@ -248,10 +248,10 @@ class Text $tags = implode('|', $allowed_tags); if (empty($tags)) { - $tags = '[a-z]+'; + $tags = '[a-z0-9]+'; } - preg_match_all('@@i', $str, $matches); + preg_match_all('@@i', $str, $matches); $full_tags = $matches[0]; $tag_names = $matches[1];