Skip to content

Commit 31766c2

Browse files
Thomas HeadifenThomas Headifen
authored andcommitted
added assertViewIs to the default regex
1 parent 56deb1e commit 31766c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"laravel_goto_view.regex": {
4545
"type": "string",
46-
"default": "(?<=view\\(['\"]|markdown\\(['\"]|\\(view:.['\"]|View::make\\(['\"]|@include\\(['\"]|@extends\\(['\"]|@component\\(['\"]|Inertia::(?:render|modal)\\(['\"]|\\(component:.['\"]|<)(?:x-|livewire:|[^'\"\\s/>]+(?:\\/[^'\"\\s/>]+)*)",
46+
"default": "(?<=view\\(['\"]|markdown\\(['\"]|assertViewIs\\(['\"]|\\(view:.['\"]|View::make\\(['\"]|@include\\(['\"]|@extends\\(['\"]|@component\\(['\"]|Inertia::(?:render|modal)\\(['\"]|\\(component:.['\"]|<)(?:x-|livewire:|[^'\"\\s/>]+(?:\\/[^'\"\\s/>]+)*)",
4747
"description": "Custom regex for matching strings"
4848
},
4949
"laravel_goto_view.folders": {

0 commit comments

Comments
 (0)