Add regex injections into bash (#11112)

This commit is contained in:
David Else 2024-07-13 18:59:07 +01:00 committed by GitHub
parent ec0bdb3976
commit 928e3f0d85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,3 +6,6 @@
argument: (raw_string) @injection.content argument: (raw_string) @injection.content
(#match? @_command "^[gnm]?awk$") (#match? @_command "^[gnm]?awk$")
(#set! injection.language "awk")) (#set! injection.language "awk"))
((regex) @injection.content
(#set! injection.language "regex"))