Fix issue caused by regexp code spanning over non-contiguous arena pages