Hi Franck,

you can do:

parse/all text [
    (result: copy [])
    start:
    any [
        #"|" end: (append result copy/part start back end) start: |
        skip
    ]
    (append result copy start)
]
result

----- Original Message ----- 
From: "Franck MARCIA"

Hi all,

Is that a bug or is there something I don't understand?

>> text: {The|quick "brown"|"fox" jumps|over "the" lazy|dog}
== {The|quick "brown"|"fox" jumps|over "the" lazy|dog}

>> parse/all text "|"
== ["The" {quick "brown"} "fox" " jumps" {over "the" lazy} "dog"]

Look at the field which contains {"fox" jumps}!

How can I get ["The" {quick "brown"} {"fox" jumps} {over "the" lazy}
"dog"]?

Franck.



-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to