Skip to content

Commit

Permalink
Fixed findExtended
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Dec 21, 2020
1 parent d6d1ef5 commit 24f6d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class ClassCompletionItemProvider implements CompletionItemProvider, Disp
readonly canComplete = /(id|class|className)\s*=\s*(["'])(?:(?!\2).)*$/si;
readonly findLinkRel = /rel\s*=\s*(["'])((?:(?!\1).)+)\1/si;
readonly findLinkHref = /href\s*=\s*(["'])((?:(?!\1).)+)\1/si;
readonly findExtended = /(?:{{<|{%)\s*(?:extends)?\s*"?([\/\.\\0-9_a-z-A-Z]+)"?\s*(?:%}|}})/i;
readonly findExtended = /(?:{{\s*<|{%\s*extends)\s*"?([\/\.\\0-9_a-z-A-Z]+)"?\s*(?:%}|}})/i;

dispose() {
let e;
Expand Down

0 comments on commit 24f6d25

Please sign in to comment.