|Did you know ...||Search Documentation:|
/*([^/]*)/*$, now capturing the non-
segment. If the segment is empty it unifies File with
if Path starts with
and the empty atom (
'') otherwise. The behaviour is consistent with the POSIX basename program.142Before SWI-Prolog 7.7.13, if argPath ended with a
File was unified with the empty atom.