Right. I realize why the regexp I tried doesn't work. The solution can't be anything except a backslash, it has to be something like the last set of characters that isn't preceded by a backslash. I realize I could do this with a module, splitting on backslashes then taking the last element, etc., but I want to do it with a regexp if I can.
Comment on Re^2: Regexp match filename, exclude path