Re: std.algorithm.skipOver broken / misbehaving?

2012-10-08 Thread Jesse Phillips
On Friday, 5 October 2012 at 08:53:22 UTC, Era Scarecrow wrote: Mmmm glancing at the notes again, maybe I misread it and it only skips if the beginning equals, rather than if it contains... Kinda annoying since it sounds like what I wanted would work... Pretty sure the semantics you want are

Re: std.algorithm.skipOver broken / misbehaving?

2012-10-06 Thread Era Scarecrow
On Saturday, 6 October 2012 at 21:57:17 UTC, Ali Çehreli wrote: There is the std.path module and especially the std.path.baseName function, but it considers either '/' or '\\' depending on the platform. Yeah already found that. Easy to find it via grep in the html documentation. P.S. I too

Re: std.algorithm.skipOver broken / misbehaving?

2012-10-06 Thread Ali Çehreli
On 10/05/2012 01:39 AM, Era Scarecrow wrote: Although this likely isn't the most efficient way to do this, it's cropped up and here's what I have so far. The idea is to drop all the unwanted pathname and only leave the filename (I'm sure there's a function there already, just not finding it off h

Re: std.algorithm.skipOver broken / misbehaving?

2012-10-05 Thread Era Scarecrow
Mmmm glancing at the notes again, maybe I misread it and it only skips if the beginning equals, rather than if it contains... Kinda annoying since it sounds like what I wanted would work...

std.algorithm.skipOver broken / misbehaving?

2012-10-05 Thread Era Scarecrow
Although this likely isn't the most efficient way to do this, it's cropped up and here's what I have so far. The idea is to drop all the unwanted pathname and only leave the filename (I'm sure there's a function there already, just not finding it off hand). Why is this failing? [quote] boo