Fixed a preg_replace bug if the supplied string contains the delimiter
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
index 9f13896..8a44608 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -236,11 +236,11 @@
 		{

 			if ($replacement != '')

 			{

-				$str = preg_replace("/\b(".str_replace('\*', '\w*?', preg_quote($badword)).")\b/i", $replacement, $str);

+				$str = preg_replace("/\b(".str_replace('\*', '\w*?', preg_quote($badword, '/')).")\b/i", $replacement, $str);

 			}

 			else

 			{

-				$str = preg_replace("/\b(".str_replace('\*', '\w*?', preg_quote($badword)).")\b/ie", "str_repeat('#', strlen('\\1'))", $str);

+				$str = preg_replace("/\b(".str_replace('\*', '\w*?', preg_quote($badword, '/')).")\b/ie", "str_repeat('#', strlen('\\1'))", $str);

 			}

 		}