Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何执行neo4j密码代码格式化_Neo4j_Cypher - Fatal编程技术网

如何执行neo4j密码代码格式化

如何执行neo4j密码代码格式化,neo4j,cypher,Neo4j,Cypher,是否有方法/网站/升华插件等格式化密码代码(使其对齐和整洁) 与此站点为javascript所做的相同,例如: 虽然不是十全十美,但以下是我一直在做的事情。(希望其他人也能参与进来并加以改进) var Cypher=document.body.innerText Cypher=Cypher.replace(/(?:\s*(可选匹配|匹配|其中|与|返回|分离删除|删除|展开|案例)\s*)/gi函数(匹配){ 返回'\n'+匹配.toUpperCase()+'' }); Cypher=Cyph

是否有方法/网站/升华插件等格式化密码代码(使其对齐和整洁)

与此站点为javascript所做的相同,例如:

虽然不是十全十美,但以下是我一直在做的事情。(希望其他人也能参与进来并加以改进)

var Cypher=document.body.innerText
Cypher=Cypher.replace(/(?:\s*(可选匹配|匹配|其中|与|返回|分离删除|删除|展开|案例)\s*)/gi函数(匹配){
返回'\n'+匹配.toUpperCase()+''
});
Cypher=Cypher.replace(/(?:\s*(和|不|不同)\s*))/gi,函数(匹配){
返回“”+match.toUpperCase().trim()+“”
});
Cypher=Cypher.replace(/(?:\s*(\w+)\(\s*)/gi,函数(匹配){
返回“”+match.toUpperCase().trim()
});
document.body.innerText=Cypher
匹配(n),(n)-(m)其中n.car=1,而不是n.id=“rawr”与n.name return collect(n)匹配为cars