diff --git a/demo/PinkFilter.php b/demo/PinkFilter.php index 9b16368..6cd682d 100755 --- a/demo/PinkFilter.php +++ b/demo/PinkFilter.php @@ -6,7 +6,7 @@ class PinkFilter extends BaseFilter { public static function getFilterMask() { - return 'pink'; + return '/^pink/'; } public function filter($add = false) diff --git a/demo/index.html b/demo/index.html index 172f586..7c00ef1 100755 --- a/demo/index.html +++ b/demo/index.html @@ -5,19 +5,25 @@