diff --git a/build/commands/ApiCommand.php b/build/commands/ApiCommand.php
index <HASH>..<HASH> 100644
--- a/build/commands/ApiCommand.php
+++ b/build/commands/ApiCommand.php
@@ -21,7 +21,7 @@ Yii::import('application.commands.api.ApiModel');
  */
 class ApiCommand extends CConsoleCommand
 {
-	const URL_PATTERN='/\{\{(.*?)\|(.*?)\}\}/s';
+	const URL_PATTERN='/\{\{([^\}]+)\|([^\}]+)\}\}/s';
 	public $classes;
 	public $packages;
 	public $pageTitle;
(Fixes issue <I>)