fix named captures regex