Skip to content

Commit fe4e464

Browse files
authored
fix: invalid Svelte regex (#1001)
1 parent bc6328a commit fe4e464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frameworks/svelte.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class SvelteFramework extends Framework {
2323

2424
// for visualize the regex, you can use https://regexper.com/
2525
usageMatchRegex = [
26-
'(\\$(_|t|format)|(get)\\(\s*(_|t|format)\s*\\))\(\s*[\'"`]({key})[\'"`]',
26+
'(\\$(_|t|format)|(get)\\(\\s*(_|t|format)\\s*\\))\\(\\s*[\'"`]({key})[\'"`]',
2727
]
2828

2929
refactorTemplates(keypath: string) {

0 commit comments

Comments
 (0)