Can Graph QL variables be used as filters with regexp

See if this answer helps you:

For future reference can you wrap your code in blocks beginning the block with a new line with ``` and ending the block with a new line using ``` as it will help make it easier to read:

  var(func:allofterms(name@en, “angelina jolie”)) {
    name@en {
      A AS {
        B AS genre

^ noticeably incomplete code

K @filter(regexp(K ,$B)) {

^ noticeably separate code block