--- amazon_filter.module	2007-09-17 11:56:27.000000000 -0700
+++ amazon_filter.module.new	2007-09-17 11:56:14.000000000 -0700
@@ -45,7 +45,7 @@ function amazon_filter_filter($op, $delt
 }
 
 function _amazon_filter_process_text($text) {
-  $pattern = "/\[amazon (.*)\]/";
+  $pattern = "/\[amazon (.*?)\]/";
   if (preg_match_all($pattern, $text, $match)) {
     if (!function_exists('amazon_get_for_asin')) {
       include_once('amazon_wrapper.inc');
