use new namedtuple in core when calling regspec_decode()