re_utils.c: re2: loop over input and find every ioc substring match