Re: [Rd] grep problem in R-devel 2.14 r57004

2011-09-16 Thread Simon Urbanek
I forgot to mention the more obvious ;) - yes, it is a known issue in PCRE 8.13 which is hitting more people. After re-reading the standard I think the problem was that PCRE did not require enclosing [ to treat [. as special. This has been addressed in the PCRE trunk since and it also has a com

Re: [Rd] grep problem in R-devel 2.14 r57004

2011-09-16 Thread Simon Urbanek
Mark, quick googling gives the answer - [.] is not what you think it is, you probably meant [\.]. Bracket expressions starting with [. are collating symbols which is unsupported by PCRE (only [:xxx:] is supported, neither [=xxx=] nor [.xxx.] is) but that's probably not what you intended. See POS