tags:

views:

31

answers:

1

x below is none instead of {"abdfff} in this very basic parse rule:

>> t: {aaa"abdfff"dddddddd}
== {aaa"abdfff"dddddddd}
>>
>> parse t [to {"} copy x to {"}]
== false
>> x
== none
+2  A: 

I'm no expert on rebol, but shouldn't the first to be thru?

parse t [thru {"} copy x to {"}]

Does that help?

roe
Yes that is correct. Other solution can be:parse t [to {"} skip copy x to {"}]
endo64
and parse t [ to {"} {"} copy x to {"} ]
Graham Chiu
What if I want to keep the " ?
Rebol Tutorial
ok forget how thru works.
Rebol Tutorial