We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 370eac4 + 533d16a commit c9e4537Copy full SHA for c9e4537
src/frameworks/i18next.ts
@@ -81,7 +81,7 @@ class I18nextFramework extends Framework {
81
82
const ranges: ScopeRange[] = []
83
const text = document.getText()
84
- const reg = /useTranslation\(\s*\[?\s*['"`](.*)['"`]/g
+ const reg = /useTranslation\(\s*\[?\s*['"`](.*?)['"`]/g
85
86
for (const match of text.matchAll(reg)) {
87
if (match?.index == null)
0 commit comments