improved MATCHES operator performances storing the compiled pattern in a
context variable