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

[REBOL] Re: parse problem

From: tomc:darkwing:uoregon at: 16-Nov-2003 21:08

Hi Patrick, Is this more or less what you are loking for? start-char: charset join {"} "{" not-start-char: complement start-char rule: [ some[ any not-start-char [ ["{" copy string to "}" "}"] | [{"} copy string to {"} {"}] (print string) ] ] ] parse mold code rule Hello World! test test 2 alone in the line Salut {you} problem? On Sun, 16 Nov 2003 [Patrick--Philipot--laposte--net] wrote: