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

[REBOL] Re: trim

From: gscottjones:mchsi at: 18-Sep-2002 5:57

From: "Graham Chiu"
> The default behaviour for trim appears flawed. > > Under IOS: > > >> trim test1: { this is an embedded tab ^-which will be left alone } > == "this is an embedded tab ^-which will be left alone" > >> trim test2: { this is an embedded tab ^/^-which gets clobbered } > == "this is an embedded tab^/which gets clobbered" > >> trim/head/tail test2: { this is an embedded tab ^/^-which is left
alone }
> == "this is an embedded tab ^/^-which is left alone"
Hi, Graham, Same behavior on REBOL/View 1.2.1.3.1. I agree that the tab should not be removed from the test2 string, unless the /lines refinement is used. Appears to be a buglet to this observer. --Scott Jones