I probably found bug in 'parse when using marking and modifying the string
[sorry if it was already reported]
REBOL 2.2.0.4.1
See some rules:
test1: [any ["^-^-" copy ii thru newline mark: (print ii) :mark] to end]
test3: [any ["^-^-" copy ii thru newline mark: (print ii mark: mark) :mark] to end]
>> parse/all {^-^-one^/^-^-two^/^-^-three^/four} test1
one
one
one
one
how many times you want (that's the bug)
but if mark is noticed (no really modifyed) everything works as expected:
>> parse/all {^-^-one^/^-^-two^/^-^-three^/four} test2
one
two
three
== true
Regards,
Jan