diff --git a/ext/index/main.php b/ext/index/main.php
index 4d41ed20..9cf5abfc 100644
--- a/ext/index/main.php
+++ b/ext/index/main.php
@@ -123,8 +123,8 @@
*
Notes
*
* - notes (=, <, >, <=, >=) number -- search by the number of notes an image has
- *
- notes_by=Username -- search for images contains notes created by username
- *
- notes_by_userno=UserID -- search for images contains notes created by userID
+ *
- notes_by=Username -- search for images containing notes created by username
+ *
- notes_by_userno=UserID -- search for images containing notes created by userID
*
* Artists
*
@@ -133,8 +133,8 @@
* - Image Comments
*
* - comments (=, <, >, <=, >=) number -- search for images by number of comments
- *
- commented_by=Username -- search for images contains user's comments by username
- *
- commented_by_userno=UserID -- search for images contains user's comments by userID
+ *
- commented_by=Username -- search for images containing user's comments by username
+ *
- commented_by_userno=UserID -- search for images containing user's comments by userID
*
* - Pools
*
@@ -323,7 +323,7 @@ class Index extends Extension {
$filename = strtolower($matches[2]);
$event->add_querylet(new Querylet("images.filename LIKE :filename{$this->stpen}", array("filename{$this->stpen}"=>"%$filename%")));
}
- else if(preg_match("/^(source)[=|:]([a-zA-Z0-9]*)$/i", $event->term, $matches)) {
+ else if(preg_match("/^(source)[=|:](.*)$/i", $event->term, $matches)) {
$source = strtolower($matches[2]);
if(preg_match("/^(any|none)$/", $source)){