messa build regex dinamica

Signed-off-by: Sebastiano Mariani <mariani.sebastiano@gmail.com>