Actually even out brackets
This commit is contained in:
parent
8d1aea5b2e
commit
54458f1438
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ function getFormatStrings(str) {
|
||||||
const formatStrings = new Set();
|
const formatStrings = new Set();
|
||||||
|
|
||||||
let match;
|
let match;
|
||||||
while ( (match = formatStringRe.exec(str) ) !== null) {
|
while ( (match = formatStringRe.exec(str)) !== null ) {
|
||||||
const placeholder = match[1]; // Minus the leading '%'
|
const placeholder = match[1]; // Minus the leading '%'
|
||||||
if (placeholder === '%') continue; // Literal % is %%
|
if (placeholder === '%') continue; // Literal % is %%
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue