fix detectType

This commit is contained in:
Sidharth Vinod 2022-08-22 13:29:55 +05:30
parent 4885e7b7f1
commit 9f49259bca
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 1 additions and 0 deletions

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;