diff --git a/bbs.php b/bbs.php
index fc3c8d4..c5372e5 100644
--- a/bbs.php
+++ b/bbs.php
@@ -136,7 +136,7 @@
$comment = $row['comment'];
$comment = str_replace("\n", "
", $comment);
- $comment = preg_replace_callback('/(?:^|
)>>\s*(\d+)/', quote_link, $comment);
+ $comment = preg_replace_callback('/>>\s*(\d+)/', quote_link, $comment);
echo "
$comment
"; echo '';