Re: R 2.15.1-1 sub() function produces unexpected output

2012-10-16 Thread Warren Young
On 10/12/2012 4:56 PM, Warren Young wrote: On 10/12/2012 9:18 AM, Toby Johnson wrote: The sub() function in R 2.15.1-1 produces unexpected output. Here is a minimal piece of R code: I believe sub() is using PCRE for this, per http://goo.gl/XxDyB I just looked back at this and since there w

Re: R 2.15.1-1 sub() function produces unexpected output

2012-10-12 Thread Warren Young
On 10/12/2012 9:18 AM, Toby Johnson wrote: The sub() function in R 2.15.1-1 produces unexpected output. Here is a minimal piece of R code: I see the same result here, except that I tested with R 2.15.1 in both Windows native and Cygwin versions, as opposed to your test which used a differen