Handle "empty line" regexp in xref searches