[EMAIL PROTECTED] wrote:
>
> EAT, I think this is what you need:
>
> headrule: [
> some [
> thru "=== " copy head to newline (
> append head " (FIRST LEVEL)" append full-contents head
> )
> |
>
I hope this helps!
>> str: "--- three dash!"
== "--- three dash!"
>> ble: copy ""
== ""
>> parse str [some [thru "---" copy rest to end (ble: rest) | thru
"===" copy rest to end (ble: rest)]]
== true
>> ble
== " three dash!"
>> str: "=== three equals!"
== "=== three equals!"
>> parse str [some [t
[EMAIL PROTECTED] wrote:
> Okay, granted. Here's the same rule with a different word...
>
> headrule: [some
> [thru "=== " copy header to newline
> ( append header " (FIRST LEVEL)"
> append full-contents header)|
> thru "--- " copy head