[NTG-context] lpeg pattern in function