fix(basic.gblib): Threat multiple spaces as one.
This commit is contained in:
parent
ac5911ee02
commit
0721a3fa78
1 changed files with 1 additions and 1 deletions
|
@ -962,7 +962,7 @@ export class GBVMService extends GBService {
|
|||
];
|
||||
|
||||
keywords[i++] = [
|
||||
/^\s**save\s*(.*)\s*as\s*(.*)/gim,
|
||||
/^\s*save\s*(.*)\s*as\s*(.*)/gim,
|
||||
($0, $1, $2, $3) => {
|
||||
return `await sys.saveFile({file: ${$2}, data: ${$1})\n`;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue