/**
 * Link
 */

module.exports = text => {
	const match = text.match(/^\??\[(.+?)\]\((https?:\/\/[\w\/:%#@\$&\?!\(\)\[\]~\.=\+\-]+)\)/);
	if (!match) return null;
	const silent = text[0] == '?';
	const link = match[0];
	const title = match[1];
	const url = match[2];
	return {
		type: 'link',
		content: link,
		title: title,
		url: url,
		silent: silent
	};
};

@@ -71,17 +71,23 @@
 /%5E%5C??%5C%5B(
-.
+%5B%5E%5C%5B%5C%5D%5D
 +?)%5C%5D%5C((

Fix bug