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

[REBOL] Re: REBOL embedded $variables regexp/no

From: tomc:darkwing:uoregon at: 11-Dec-2002 1:29

Hi Andrew this isn't dealing with tabs and newlines but you are welcome to add them to the ws charset bigstring: {this is a string with lots of spaces} ws: charset { } bs: complement ws rule: [ any bs ws mark: opt[some ws kram: (remove/part :mark :kram) :mark] ]
>>parse/all bigstring [any rule to end]
==true
>>bigstring
== this is a string with lots of spaces On Wed, 11 Dec 2002, Andrew Martin wrote: