tidied match of xref entry trailing space