[EMAIL PROTECTED] wrote:
> I didn't follow the conversation but:
> Why traverse the string again? You already traversed it by "--- ".. then you can
> leave out the mark: :mark clause.. also you should use [thru newline] to prevent
> another 'dumb' loop of the parser...
> 
> rule: [
>         "===" copy header thru newline
>                 (append header " (FIRST LEVEL)"
>                  append full-contents header)   |
>         "---" copy header thru newline
>                 (append header " (SECOND LEVEL)"
>                  append full-contents header)   |
>         thru newline
> ]
> 
> parse/all "..." [ some rule ]
> 

  It's odd, but all of the sudden the above is working just fine...  
Even though I could swear on the grave of god I tried the same 
exact thing yesterday an it was parsing only the "==="'s.  

  Just put the clock back a day and tried the same thing, just for
kicks, still works.  What I'd like to do right now is turn my brain
back and see what I was doing different last night, if anything.

  Alas...  Was too tired last night, and too frustrated (frustration
can really warp the way I look at things...  which could in and of
itself be the explaination) and can't really rememeber details. 

  Truly odd it's working now when I could swear I've done it before.
The above matches what's portrayed in Carl's example exactly, too.
And now it works.  Perhaps it was the alignment of the planets
affecting the magnetic flow in the electronics of my system which 
caused a slight drift in memory alignment making REBOL parse funny?
  Yeh, that's it.  That's my story, and I'm sticking to it.

  Cheerfulness,

                                                ------EAT

Reply via email to