From f6e9dbed1333f6761de0e748a6a41b6b365158dc Mon Sep 17 00:00:00 2001 From: Marcin Ɓabanowski Date: Wed, 9 Jan 2013 08:33:40 +0100 Subject: Facilitate creation and usage of boards with "." and "+" characters in name. This commit is mostly work in progress, will be rewritten. --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index a7b6b434..190b98ae 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1436,7 +1436,7 @@ function markup(&$body, $track_cites = false) { } // Cross-board linking - if (preg_match_all('/(^|\s)>>>\/(\w+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) { + if (preg_match_all('/(^|\s)>>>\/([\w.+]+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) { if (count($cites[0]) > $config['max_cites']) { error($config['error']['toomanycross']); } -- cgit v1.3