Skip to content

Commit

Permalink
fix: syntax regex
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Nov 5, 2024
1 parent cd94158 commit 7e9a5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-core/lib/parsers/vueCompilerOptions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ts from 'typescript';
import type { Sfc, VueCompilerOptions } from '../types';

const syntaxReg = /^\/\*\*\s*@vue\$(?<key>.+) (?<value>.+)\s*\*\/$/;
const syntaxReg = /^\/\*\*\s*@vue\$(?<key>.+?) (?<value>.+)\s*\*\/$/;

export function parseVueCompilerOptions(
ts: typeof import('typescript'),
Expand Down

0 comments on commit 7e9a5c9

Please sign in to comment.