"do_octets" label is needed independently of Ascend binary

Signed-off-by: Julius Plenz <plenz@cis.fu-berlin.de>
i_flag is only known if HAVE_REGEX is defined

Signed-off-by: Julius Plenz <plenz@cis.fu-berlin.de>
Better checks for regex