James Curran wrote:
> Vladimir Prus wrote:
>> The intent is to get/change the part of leaf name after the first
>> dot.
>
>     um.. After the FIRST dot or the LAST dot.
>
>     In Win32, "james.m.curran.txt" the extention is "txt", not
> "m.curran.txt"

Note too that on Windows/NTFS, names like 'c:/foo/bar.baz.blip:blat' are
legal.  The 'extension' is '.blip', not '.baz.blip' and not
'.baz.blip:blat'.

The very existence of such special cases probably means that such a function
would be a good addition to the filesystem library.

-cd



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to