[REBOL] Parse - Bug?
From: pwawood:mango:my at: 24-May-2005 9:50
When simply splitting a string including a "stand-alone" semi-colon, parse
returned an empty block at the position of the semi-colon. It doesn't do
this when it encounters a "stand-alone" tab or newline.
>> parse "this string includes a semi-colon ; <-there" none
== ["this" "string" "includes" "a" "semi-colon" "" "<-there"]
>> parse "this string includes a newline ^/ <-there" none
== ["this" "string" "includes" "a" "newline" "<-there"]
>> parse "this string includes a tab ^- <-there" none
== ["this" "string" "includes" "a" "tab" "<-there"]
Is this a bug or a feature?
Personally I would prefer it if "parse string none" left semi-colons
untouched.
Regards
Peter