Added regex groups in callback arguments