diff --git a/src/helpers/snippetPlaceholders.ts b/src/helpers/snippetPlaceholders.ts index 5896a82..4770ccd 100644 --- a/src/helpers/snippetPlaceholders.ts +++ b/src/helpers/snippetPlaceholders.ts @@ -36,7 +36,7 @@ export const revertSnippetPlaceholders = (snippetString: string) => { .replace(new RegExp(/\${2:second}/, 'g'), Placeholders.SecondTab) .replace(new RegExp(/\${3:third}/, 'g'), Placeholders.ThirdTab) .replace( - new RegExp(/\${1\/(.*)\/${1:\/capitalize}\/}/, 'g'), + new RegExp(/\${1\/\(\.\*\)\/\${1:\/capitalize}\/}/, 'g'), Placeholders.Capitalize, ); };