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

[REBOL] Re: Need Some PARSE Help

From: Tom::Conlin::gmail::com at: 17-Oct-2005 21:36

Hi Gerard, these can usually be fixed by using parse's /all refinement and handeling white space yourself. I find I almost allways do this when I am doing more than simple string splitting. make a rule that accepts white space and include it at all the places you need it. .... ws: charset [#" " #"^-" #"^/"] .... english-day: ["Fri." |"Sat." |"Sun." |"Mon." |"Tue." |"Wed." |"Thu." |"Every day" some ws] .... parse/all t4 rules2/expr .... Gerard Cote wrote: