|
|
@ -10,7 +10,7 @@ const greentextRegex = /^>((?!>\d+|>>/\w+(/\d*)?|>># |
|
|
|
, italicRegex = /\*\*(.+?)\*\*/gm |
|
|
|
, italicRegex = /\*\*(.+?)\*\*/gm |
|
|
|
, spoilerRegex = /\|\|([\s\S]+?)\|\|/gm |
|
|
|
, spoilerRegex = /\|\|([\s\S]+?)\|\|/gm |
|
|
|
, detectedRegex = /(\(\(\(.+?\)\)\))/gm |
|
|
|
, detectedRegex = /(\(\(\(.+?\)\)\))/gm |
|
|
|
, linkRegex = /(https?\://[^\s<>\[\]{}|\\^]+/g |
|
|
|
, linkRegex = /(https?\://[^\s<>\[\]{}|\\^]+)/g |
|
|
|
, aLinkRegex = /\[([^\[][^\]]*?)\]\((https?\://[^\s<>\[\]{}|\\^)]+)\)|(https?\://[^\s<>\[\]{}|\\^]+)/g |
|
|
|
, aLinkRegex = /\[([^\[][^\]]*?)\]\((https?\://[^\s<>\[\]{}|\\^)]+)\)|(https?\://[^\s<>\[\]{}|\\^]+)/g |
|
|
|
, codeRegex = /(?:(?<language>[a-z+]{1,10})\r?\n)?(?<code>[\s\S]+)/i |
|
|
|
, codeRegex = /(?:(?<language>[a-z+]{1,10})\r?\n)?(?<code>[\s\S]+)/i |
|
|
|
, includeSplitRegex = /(\[code\][\s\S]+?\[\/code\])/gm |
|
|
|
, includeSplitRegex = /(\[code\][\s\S]+?\[\/code\])/gm |
|
|
|