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

[REBOL] Re: Problem with parse

From: tom::conlin::gmail::com at: 30-Oct-2008 10:46

Sigh... I can remember this coming up almost almost a decade ago. the answer I would prefer is, we, as users of rebol would be able to completely specify the internal 'stop chars used by parse in string splitting mode. The answer I have is don't use parse/all for simple string splitting . Use parse/all but create your own rule block. note: I find "terminating" preferable to "separating" that is : <date>|<string>|<url>| over <date>|<string>|<url> then a rule such as: rule: [(blk: clear blk) 3[copy token to "|"(insert tail blk token) "|"] (blk)] Peter Carlsson wrote: