Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: parse, again...

From: nitsch-lists:netcologne at: 4-Nov-2001 1:13

RE: [REBOL] Re: parse, again... [lmecir--mbox--vol--cz] wrote:
> Hi, > > > > Thanks Volker and Ladislav too. Volker: I can't seem to get your rule > and > > > Ladislav's to behave differently. They both react only if there is at > least > > > one character in the sitrng. > > There may be a speed difference, you can do some benchmarking to find out. > > > i think having [thru end] to say "i got all, stop!" would be a feature. > > Actually, in I use [to end skip]. [thru > end] seems to be shorter while having the same meaning. >
difference is
>> parse "hello" [to end skip]
== false
>> parse "hello" [skip to end]
== true [to end skip] will stop, but gives false. our "workarounds" gives true but are not so obvious. i would like to get "stop" and "true", and somehow, [thru end] would make sense to me (its what one thinks of first?) -Volker