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

[REBOL] Shutting off parse features

From: tbrownell:shaw:ca at: 8-Mar-2002 12:46

When parsing a string such as {Hello world, "this to" is an example;} parse will remove the comma, and the semi... and takes anything within quotes as a single value. Sometimes I just want to parse spaces so we get... ["Hello" "world," "this" "to" "is" "an" "example;"] Of course some rules could be created to do this, but it seems there should be an option to parse that "shuts off" the ,, ; and "" features... eg: parse/white TBrownell