Visualizing Regular Expressions: regexper.com

http://codepen.io/DTrejo/full/KfGgL
^!?\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*\)
https://regexper.com/#%5E!%3F%5C%5B((%3F%3A%5C%5B%5B%5E%5C%5D%5D*%5C%5D%7C%5B%5E%5C%5B%5C%5D%5D%7C%5C%5D(%3F%3D%5B%5E%5C%5B%5D*%5C%5D))*)%5C%5D%5C(%5Cs*%3C%3F(%5B%5Cs%5CS%5D*%3F)%3E%3F(%3F%3A%5Cs%2B%5B'%22%5D(%5B%5Cs%5CS%5D*%3F)%5B'%22%5D)%3F%5Cs*%5C)
^!?\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*<?([^()"'>]*(?:(?:\(.*\))[^\s>'"]*|[^()"'>]*))>?(?:\s+['"]([\s\S]*?)['"])?\s*\)
Before change
After change
https://annot.io/github.com/chjj/marked/blob/master/lib/marked.js

--

--

I am now living in Vietnam and leading Lecle Vietnam. https://www.linkedin.com/in/yumenohosi/

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store