You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just noticed that anchorPattern is seemingly supposed to match [title][anchor]-style links while anchorInlinePattern matches [title](http://example.com)-style links.
Still, anchorPattern uses parenRegex to match round parens on its inside.
Thinking about it, I would simply remove that part. Was there an edge case you wanted to handle with that code, @macteo? If so, I'll write tests for that case to make sure that no refactoring breaks the existing stuff.
The text was updated successfully, but these errors were encountered:
Just noticed that
anchorPattern
is seemingly supposed to match[title][anchor]
-style links whileanchorInlinePattern
matches[title](http://example.com)
-style links.Still, anchorPattern uses
parenRegex
to match round parens on its inside.Thinking about it, I would simply remove that part. Was there an edge case you wanted to handle with that code, @macteo? If so, I'll write tests for that case to make sure that no refactoring breaks the existing stuff.
The text was updated successfully, but these errors were encountered: