Skip to content

Commit f595884

Browse files
fix bug respiracao
1 parent 245fbbd commit f595884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/augustinus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export default function generateGabc(input: string, modelObject: Model, paramete
422422
}
423423
resultGabc = gabcLines.join("\n");
424424
}
425-
resultGabc = resultGabc.replaceAll(/'\(.\)/gm, "(,)");
425+
resultGabc = resultGabc.replaceAll(/'(\([^)]+\))?/gm, "(,)");
426426
if (parametersObject.header) {
427427
resultGabc = parametersObject.header + "\n%%\n" + resultGabc;
428428
}

0 commit comments

Comments
 (0)