Hi Freddie,
Why are you using the dollar sign in the beginning?
Test on https://play.dgraph.io/ any example and define the reasons for the expression. Explain what you want to do.
e.g (that you can use on play Dgraph):
{
directors(func: regexp(name@en, /^steven.*$/i)) {
name@en
}
}
OneLine // treat ^ and $ as only matching at beginning and end of text
WasDollar // regexp OpEndText was $, not \z
syntax package - regexp/syntax - Go Packages