Make Livewire regex more specific

Added upper bound of 512 characters between '<' and 'wire:' + look for
word boundary before 'wire:'.
main
Anders K. Madsen 4 years ago
parent 781af50471
commit 2f98704baa

@ -6389,7 +6389,7 @@
18, 18,
19 19
], ],
"html": "<[^>]+wire:", "html": "<[^>]{1,512}\bwire:",
"icon": "Livewire.png", "icon": "Livewire.png",
"implies": "Laravel", "implies": "Laravel",
"js": { "js": {

Loading…
Cancel
Save