Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Changing the original 'parse string

From: al:bri:xtra at: 30-Dec-2000 8:30

I don't know if people know this, but this is how you can get 'parse to change the parse string: |[ Mark: "---" MarkEnd: ( MarkEnd: change/part Mark {—} MarkEnd ) :MarkEnd ] In this example, I'm changing three dashes into the HTML named character entity — and then skipping past the replacement, by using :MarkEnd. Andrew Martin ICQ: 26227169