Skip to content

Commit 6f43859

Browse files
authored
Merge pull request #1 from jts04/master
ignore parens
2 parents 832cc26 + 00a107a commit 6f43859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
type: 'postProcessor',
1313

1414
process(value: string /*, key: string, options: any*/ ) {
15-
const matches = value.match(/(?:[-]|[0-9]+)\[\[(?:||||||(?:)|||)\]\]/g);
15+
const matches = value.match(/(?:[-]|[0-9]+)\(*\)*\[\[(?:||||||(?:)|||)\]\]/g);
1616
if (matches == null) {
1717
return value;
1818
}
@@ -68,4 +68,4 @@ export default {
6868

6969
return value;
7070
}
71-
};
71+
};

0 commit comments

Comments
 (0)