link names of the form "a-b-ethN" were previously interpreted as "b-ethN". this change accepts link names with a dash, and requires N to only contain digits.