I need to verify this pattern:
{{ a valid variable name }}
Something like this:
/{{aaaa}} ---> matches
/{{a}} ---> matches
/{{a1a}} ---> matches
/ ---> matches
/{aaa}} ---> no matches
/{aaa} ---> no matches
/{{aaa} ---> no matches
/aaa}} ---> no matches
/{{aaa ---> no matches
and so forth...
I have this pattern:
^\\/(({){2}[A-Za-z0-9]+(}){2})*$
According to https://www.debuggex.com/#cheatsheet it is well written, but it doesn't work. Any suggestion on how to solve this?