BTW, using [%"" =3D string] instead of [tail? string]. Thats a nice trick, never thought about it. Does an implicit none-check, sometimes handy.
On 6/27/05, Anton Rolls <[EMAIL PROTECTED]> wrote: >=20 > Hmm, that seems to work.. > It looks like a subtlety of /match is that /tail > now forces a match to the tail of the series otherwise > none is returned. It looks like a good feature, though > it is not obvious from the inline help. >=20 > Let me just say again that I am familiar for some years > with the test: >=20 > %"" =3D find/any/match file pattern >=20 > and >=20 > find/any/match/tail file pattern >=20 > is probably a better replacement (but unproven to me yet). >=20 > Anton. >=20 > > how about > > find/match/any/tail > > > > >> find/match/any/tail "p3.htm.html" "p?.htm" > > =3D=3D none > > >> find/match/any/tail "p3.htm" "p?.htm" > > =3D=3D "p3.htm" > > >> > > > > AR > > > > > > Anton Rolls wrote: > > > > >Yes, these cases are handled by the test: > > > > > > %"" =3D find/any/match file pattern > > > > > >eg. > > > > > > foreach file [ > > > %p1.htm > > > %p2.htm > > > %p33.htm > > > %p.htm.000 > > > ][ > > > if %"" =3D find/any/match file "p?.htm" [print file] > > > ] > > > > > >Anton. >=20 > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >=20 >=20 --=20 -Volker "Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem." David Wheeler -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
