Regular expression is an attribute of node, for example, cmd_line is an attribute, the first parameter is a specific value, not an atribute. so how to write a query like this?
{
directors(func: regexp("net user test /add", /cmd_line/)) {
cmd_line
}
}