diff --git a/bbs.php b/bbs.php
index ffb8716..15b4a88 100644
--- a/bbs.php
+++ b/bbs.php
@@ -174,7 +174,7 @@
if(!empty($row['comment'])) {
$comment = $row['comment'];
$comment = preg_replace('/^>(?!>\d).+/m', '$0', $comment);
- $comment = preg_replace('/(https?|mailto|tel|ftp):[^\s]+/m', '$0', $comment);
+ $comment = preg_replace('/(?:https?|mailto|tel|ftp):[^\s]+/m', '$0', $comment);
$comment = preg_replace_callback('/>>\s*(\d+)/', quote_link, $comment);
$comment = str_replace("\n", "
", $comment);
echo "
$comment
";