Re: [Rd] Bug in sub and gsub (PR#13460)

2009-01-21 Thread ligges
banzal...@gmail.com wrote: > Full_Name: Leon C. Banza > Version: 2.8.1 > OS: Windows Vista > Submission from: (NULL) (195.69.243.253) > > > I believe there is a serious bug in the code for sub and gsub. I do as > following: > > gsub("\\", "-", "some\\backslashed\\string") This is a user bug.

[Rd] Bug in sub and gsub (PR#13460)

2009-01-21 Thread banzaleon
Full_Name: Leon C. Banza Version: 2.8.1 OS: Windows Vista Submission from: (NULL) (195.69.243.253) I believe there is a serious bug in the code for sub and gsub. I do as following: gsub("\\", "-", "some\\backslashed\\string") This ought return "some-backslashed-string", but prints warnings ins