[REBOL] pinging SELMA Re:(3)
From: brian:hawley:bigfoot at: 20-Sep-2000 22:20
Jeff wrote:
> Howdy, Brian:
>
> > There is a long-standing bug in the
> > parse native in all versions of REBOL that affects the code
> > in SELMA that parses subject lines.
> > ; Second, with optional more than one "a"
> > y-cnt: 0
> > parse a: "y a a y z" [
> > some [
> > to "y" here: "y"
> > 0 2 "a" ; Note more than one "a" optional here
> > any " " there:
> > (y-cnt: 1 + :y-cnt remove/part :here :there) :here
> > ] ; This block should run twice, but doesn't
> > ]
> > print [mold a y-cnt {(should be "z" 2)}]
>
> Hmmm, I don't believe this is a bug. The 0 2 "a" matches
> two instances of "a". Check out:
Well, it took me a long time, but I figured out a bug
in my test code that made it look like parse had a bug.
It's not whitespace, but I still feel foolish now :(
I formally apologize for the Feedback messages I sent.
Reviewing the SELMA source I can't reproduce the bug
I found before so it must have been fixed. Good!
Another thing I haven't figured out is how Gabriele is
able to consistently end up with a Re: after the list
tag on all of his posts. It's not the messed-up thread
sorting that results from this that gets me, it's that
everything I can find in the SELMA source tells me it's
impossible to do that! It's this behavior that got me
searching the SELMA source in the first place.
I hate it when I can't track down a bug :(
Brian Hawley