[REBOL] Find/any doesn't seem to find strings in blocks.. Re:(4)

2000-08-20 Thread bhandley
: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 20, 2000 11:45 PM Subject: [REBOL] Find/any doesn't seem to find strings in blocks.. Re:(3) > Hi Elan, > > Good question. I assumed one sort of behaviour but it is not necessarily > obvious is it? > &

[REBOL] Find/any doesn't seem to find strings in blocks.. Re:(3)

2000-08-20 Thread bhandley
ely, as it does now, but with the /any refinement enabled to influence the matching. Any comments? Brett. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 20, 2000 2:44 PM Subject: [REBOL] Find/any doesn't seem to find string

[REBOL] Find/any doesn't seem to find strings in blocks.. Re:(2)

2000-08-19 Thread rebol
Hi etcha, >> help find [...] /any -- Enables the * and ? wildcards. [...] Case 1: >> string: "xdefgjkljyjkljweruiouz" >> find/any string "y*z" == "yjkljweruiouz" Case 2: >> block-with-string: reduce [string] == ["xdefgjkljyjkljweruiouz"] >> find/any block-with-string "y*z" == none Shou

[REBOL] Find/any doesn't seem to find strings in blocks.. Re:

2000-08-19 Thread etcha
whats wrong with: >> blah: "my-string" == "my-string" >> blah: parse blah "-" == ["my" "string"] >> if find blah "my" [print ["yes"]] yes >> its not what you want, but you cant search the string for something thats not there, eg "my*" :) etcha -Original Message- From: [EMAIL PROTECTED]