[REBOL] Re: New find question
From: volker::nitsch::gmail::com at: 25-Jun-2005 10:28
The difference is the /match. without it, you have basically
*your-pattern*
, will say, if that pattern is somewhere in the
string, its found. with /match you force the ends to match.
On 6/25/05, Anton Rolls <[antonr--lexicon--net]> wrote:
> This is a well-tested method I use a lot:
>
> >> %"" = find/match/any %p3.htm.32105.#01 "p*.htm"
> == false
>
> >> %"" = find/match/any %p3.htm "p*.htm"
> == true
>
> Anton.
>
> > Hi all ~ ... files: read %/c/ foreach file files[
> > if find/any file "p*.htm"= [ read file ...
> > **Access Error: Cannot open /C/p3.htm.32105.#01
> > Why on earth would this
> > file match my filter? How do I exclude any such files? TIA, Kai
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
-Volker
Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem.
David
Wheeler