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

[REBOL] Parsing

From: arnaud:dutartre:europe:tgs at: 31-Oct-2002 14:22

Hello, I have a simple question : I try to parse a string text: " -a bb" note-rules: [ some ["-a" (print "a") |"b" (print"b")]] It works like that but if I change the rule by adding a space before -a it does not work : note-rules: [ some [" -a" (print "a") |"b" (print"b")]] Could you tell me why ? Thx Arno:)