Hi Cal
Looks like RT forgot to implement /case for 'unique. You should send it to
feedback.
Your second bug does not show up on my Win98 machine. Using a fresh
instance of REBOL/Core:
>> system/version
== 2.3.0.3.1
>> t
== "azbrbar"
>> find/any/case t "B*"
== none
>> find/any/case t "b*"
== "brbar"
>> find/case t "B"
== none
>> find/case t "b"
== "brbar"
Seems OK. Perhaps previous definitions or executed programs messed
something up on yours.
Cheers
-Larry
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 15, 2000 3:14 PM
Subject: [REBOL] bugs in Rebol/Core 2.3
> Found two more bugs (both in Rebol/Core 2.3 on Win98, haven't checked
other
> versions).
>
> First, the recently added 'unique function ignores the /case refinement.
> it doesn't even look at it's refinement, it just passes its argument to
> 'union.
>
> Second (this is the weird one), find/any (search w/ wildcards) is broken.
> Until I started writing this I thought I had the problem pegged down, but
> now I can't seem to reproduce my previous results to show you, now I get
> unrelated bad results. Anyway here is an example of find/any/case failing:
>
> >> t
> == "azbrbar"
> >> find/any/case t "B*"
> == "rbar"
> >> find/case t "B"
> == none
>
> previously I had been getting starnge behavior when the string being
> searched in was not at its head, I don't have time to keep messing with it
> at the moment, but it definately is not working correctly.
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com