Robert Sanderson wrote: > On Tue, 15 Aug 2006, Ray Denenberg, Library of Congress wrote: > >>> 2. Is it sufficiently useful to also allow negative numbers in the >>> start position? eg: -10:3 -- 3 characters starting at the 10th >>> from last. >> Please, no. (That takes us several steps backwards -- if you allow negative >> numbers you would also have to allow zero. I was liking the direction of >> this discussion until this.) > > Here's my use case: > > foo.fileName =/substring=-5 .html > > Find all filenames that end in '.html', which can't otherwise be > accomplished unless you can start a number of characters back from the > end. Shoot me for asking but what's wrong with plain old left truncation? foo.fileName =/ *.html --Ere -- Ere Maijala (Mr.) The National Library of Finland P.O.Box 26 (Teollisuuskatu 23) FI-00014 University of Helsinki FINLAND ere.maijala(@)helsinki.fi Tel. +358 9 191 44260