We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 832cc26 + 00a107a commit 6f43859Copy full SHA for 6f43859
src/index.ts
@@ -12,7 +12,7 @@ export default {
12
type: 'postProcessor',
13
14
process(value: string /*, key: string, options: any*/ ) {
15
- const matches = value.match(/(?:[가-힣]|[0-9]+)\[\[(?:을|를|이|가|은|는|(?:으로)|로|과|와)\]\]/g);
+ const matches = value.match(/(?:[가-힣]|[0-9]+)\(*\)*\[\[(?:을|를|이|가|은|는|(?:으로)|로|과|와)\]\]/g);
16
if (matches == null) {
17
return value;
18
}
@@ -68,4 +68,4 @@ export default {
68
69
70
71
-};
+};
0 commit comments