code: function genHeadRe(arr0, arr1) {
    var reStr = "^\\s*(" + _.concat.apply(this, arguments).join('|') + ")\\s*"
    return new RegExp(reStr, "i")
  }
docs: Query string formats for pullGraph: MATCH (a:LabelA {propA}) <wOp> <rOp> MATCH (a:LabelA {propA})-[e:LabelE ({propE}|*Dist)]-(b:LabelB {propB}) <wOp> <rOp> MATCH p=shortestPath( (a:LabelA {propA})-[e:LabelE ({propE}|*Dist)]-(b:LabelB {propB}) ) <wOp> <rOp> generate regex for Heads from arrays