Patch: string formatting
This commit is contained in:
parent
5cf7f823e6
commit
10865d8a24
@ -47,7 +47,7 @@ class InsertDelimiter extends Operation {
|
||||
return "Invalid interval: must be a positive integer.";
|
||||
}
|
||||
|
||||
return input.match(new RegExp(`.{1,${parseInt(args[0])}}`, 'g')).join(args[1]);
|
||||
return input.match(new RegExp(`.{1,${parseInt(args[0])}}`, "g")).join(args[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user