Example:
?- wildcard_match('[a-z]*.{pro,pl}[%~]', 'a_hello.pl%'). Yes.
<base>1
,
the next <base>2
, etc. Note that this is no warrant that the atom
is unique in the system.
I plan to supply a real gensym/2 which does give this warrant for
future versions.