On 2013-01-15 21:14, monarch_dodra wrote:
This is why I'd like to find a way to cut bidirectional ranges: Not just for r*
functions, but also for our everyday functions: As you can see, we don't have
any way to "findBefore" and store the result in a BR. Ouch.
As a user of D, I agree with you that it should "just work". Real life is
different though :/
Ah, right. That Take has bitten me before when I was discussing string slicing
using negative indexes. :)
In that case I wish this cutting that preserves the type of range will get
implemented and the cheats in findSplit removed.