Fix unsupported regexp parameter in assemble