[BUG] So since when is ) part of valid URL? The link markdown code consumes these brackets greedily

MXXIV·2/11/2015, 9:13:58 PM·4 votes·1,624 views

Greedy match is such regular expression that tries to match as much text as possible. Now if you have a URL link in brackets (I often do this), it will be broken and the second bracket will disappear:

This: (blah [link text](scheme://link.url) ) more text Turns in this: (blah link text ) more text

I used http://www.google.com in the live example and you can see that the link is now broken.

2 Comments

Bluerex2/11/2015, 9:37:49 PM1 votes

Do you think the recent changes to this might have also caused the other bug you reported? http://boards.na.leagueoflegends.com/en/c/site-feedback/saYgZpXa-bug-embeded-images-stopped-working