Skip to content

Commit 4483e17

Browse files
author
Vladimir Ilyin
committed
Cypher injection in C# strings
1 parent 8ed8715 commit 4483e17

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<component name="LanguageInjectionConfiguration">
2+
<injection language="Cypher" injector-id="csharp">
3+
<display-name>&quot;Cypher in C#&quot;</display-name>
4+
<place><![CDATA[
5+
csharpLiteralExpression().withText(string()
6+
.matchesBrics("[\"'`] *((MATCH .*(SET|RETURN|(SET|WHERE .*CREATE) .*RETURN))|(CREATE .*(RETURN)?)) .*[\"'`]?"))
7+
]]></place>
8+
</injection>
9+
</component>

0 commit comments

Comments
 (0)