mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-21 16:29:59 +00:00
fix small tiny issue with parser
This commit is contained in:
@@ -25,7 +25,7 @@ function regex(config: clikeConf): RegExp {
|
||||
`(${RegExp.escape(config.multiLine)}(?:${matchOpts.join("|")})*(?:${RegExp.escape(config.multiLine)})?)`,
|
||||
);
|
||||
}
|
||||
conds.push(`\'(\\\\(.|\\n)|[^"\\n\\\\])*\'?`);
|
||||
conds.push(`\'(\\\\(.|\\n)|[^\'\\n\\\\])*\'?`);
|
||||
conds.push(`"(\\\\(.|\\n)|[^"\\n\\\\])*"?`);
|
||||
if (config.hashComments) {
|
||||
conds.push("#.*");
|
||||
|
||||
Reference in New Issue
Block a user