fix detectType

This commit is contained in:
Sidharth Vinod
2022-08-22 13:29:55 +05:30
parent 4885e7b7f1
commit 9f49259bca

View File

@@ -1,3 +1,4 @@
// @ts-nocheck
const directive =
/[%]{2}[{]\s*(?:(?:(\w+)\s*:|(\w+))\s*(?:(?:(\w+))|((?:(?![}][%]{2}).|\r?\n)*))?\s*)(?:[}][%]{2})?/gi;
const anyComment = /\s*%%.*\n/gm;