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

[REBOL] Re: Quote character replacement

From: gjones05:mail:orion at: 26-Feb-2001 12:09

From: Rod Gaither
> In starting to play with parse I have a very structured > file to process. It is almost perfect for the newer block > parsing options - except - > > It has some quoted strings - > > Description "This is a sample field > description" > > where the string wraps around a line. > > It seems if I could change the " " into { } respectively > then I could use the block parsing features. > > There must be a dozen ways to do this, any takers? <snip>
Hi, Rod, I will apologize in advance in case I have mis-understood the requirements, but perhaps simply using 'parse will work. Using your example for an example: a: { Description "This is a sample field description" } parse a none ; yields ["Description" "This is a sample field^/description"] Or are you looking for a finer degree of parsing? --Scott Jones