Skip to content
Snippets Groups Projects
Commit a2ded3ce authored by yakomaxa's avatar yakomaxa
Browse files

Small update for RasMol parser

parent ffb1390b
Branches
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ const lang = P.MonadicParser.createLanguage({ ...@@ -59,7 +59,7 @@ const lang = P.MonadicParser.createLanguage({
r.Parens, r.Parens,
r.Operator, r.Operator,
r.Expression r.Expression
).wrap(P.MonadicParser.string('( '), P.MonadicParser.string(' )')); ).wrap(P.MonadicParser.regexp(/\(\s+/), P.MonadicParser.regexp(/\s+\)/));
}, },
Expression: function (r: any) { Expression: function (r: any) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment