[Inline link 1 with parens](/url\(test\) "title").

[Inline link 2 with parens](</url\(test\)> "title").

[Inline link 3 with non-escaped parens](/url(test) "title").

[Inline link 4 with non-escaped parens](</url(test)> "title").

[Reference link 1 with parens][1].

[Reference link 2 with parens][2].

  [1]: /url(test) "title"
  [2]: </url(test)> "title"