in reply to regexp: match anything but "/"

As a side note, it may well be that you really need to "match anything but the char "/"" but I can feel a slight XY smell here: what are you really after? Maybe there's a better logic...