escape software name before using it in regex in is_short_modname_for