2 lines
189 B
JavaScript
2 lines
189 B
JavaScript
|
module.exports = /^((=>\s?(?<href>[^\s]+)\s(?<title>.+))|(?<pre>```\s?(?<alt>.+)?)|(###\s?(?<h3>.+))|(##\s?(?<h2>.+))|(#\s?(?<h1>.+))|(\*\s?(?<li>.+))|(>\s?(?<quote>.+))|(?<text>(.+)?))$/;
|