Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

In this question, several workarounds are shown for inserting links containing parentheses (()). However, they don't work for comments, because you cannot insert the extra line break needed for the


syntax to work. It just seems like an arbitrary limitation; I know that this prevents one from using Regex to match the URL expressions, but we know what happens when one uses regex. :)

share|improve this question
up vote 6 down vote accepted

The #2 work-around on that page (urlencoding the parens) works in comments. Firefox will do it for you if you copy the URL directly from the address bar.

Note that certain sites actually work better if you just strip the parenthetical portions out before posting anyway...

share|improve this answer
For example to link to simply use ""... note that this is not ASCII encoding but URL encoding – Peter Ajtai Sep 3 '10 at 23:43
Okay -- since MSDN links are so common, maybe they should be detected and the parens should be simply stripped? No idea here. – Billy ONeal Sep 7 '10 at 19:25

I'm assuming your regex hint is supposed to suggest that correctly nested parentheses could be handled. It's certainly true that parens are legal characters in URLs. But no specification says that parentheses in URLs have to be correctly opened and closed. So this:

is a perfectly valid URL. But are you seriously suggesting that this comment:

For more information, see [this page](

should work?

Edit: Okay, the usual case (see here for examples) will be supported in comments after the next build.

share|improve this answer
It's impossible with the current system to get them all to work, but nevertheless I think it would be beneficial to support URLs with matching parens, which are the vast majority of them. – Andreas Bonini Sep 4 '10 at 19:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .