feat(sparql): add regex injection

This commit is contained in:
ginnyTheCat 2025-02-10 03:35:57 +01:00 committed by Christian Clason
parent 6402fcb1e0
commit a840137349

View file

@ -1,2 +1,8 @@
((comment) @injection.content
(#set! injection.language "comment"))
(regex_expression
pattern: (rdf_literal
value: (string) @injection.content)
(#offset! @injection.content 0 1 0 -1)
(#set! injection.language "regex"))