|
@@ -70,7 +70,8 @@ function convertFile(task){
|
|
/*if(qsp2twOptions.startsWith("!! QSRC2TW_module")){
|
|
/*if(qsp2twOptions.startsWith("!! QSRC2TW_module")){
|
|
convertMode = qsp2twOptions.trim().split(" ").toReversed()[0];
|
|
convertMode = qsp2twOptions.trim().split(" ").toReversed()[0];
|
|
}*/
|
|
}*/
|
|
- const modeLookupRegex = /\s*!!\s*QSRC2TW_module\s+(\w+)(\s+{[^}]+})?/;
|
|
|
|
|
|
+ //const modeLookupRegex = /\s*!!\s*QSRC2TW_module\s+(\w+)(\s+{[^}]+})?/;
|
|
|
|
+ const modeLookupRegex = /\s*!!\s*QSRC2TW_module\s+(\w+)(\s+.+)?/;
|
|
let modeLookupResult;
|
|
let modeLookupResult;
|
|
try{
|
|
try{
|
|
if(modeLookupResult = modeLookupRegex.exec(qsp2twOptions)){
|
|
if(modeLookupResult = modeLookupRegex.exec(qsp2twOptions)){
|