Re: [R] Regex engine types

2006-06-12 Thread Prof Brian Ripley
On Sat, 10 Jun 2006, Prof Brian Ripley wrote: ?regex does describe this: A range of characters may be specified by giving the first and last characters, separated by a hyphen. (Character ranges are interpreted in the collation order of the current locale.) You did not tell us

Re: [R] Regex engine types

2006-06-10 Thread Prof Brian Ripley
?regex does describe this: A range of characters may be specified by giving the first and last characters, separated by a hyphen. (Character ranges are interpreted in the collation order of the current locale.) You did not tell us your locale, but based on questions from you

Re: [R] Regex engine types

2006-06-10 Thread Gabor Grothendieck
I get the same result in a US collate ordering: strsplit(Sys.getlocale(), ;) [[1]] [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 grep([W-Z], letters, value =

[R] Regex engine types

2006-06-09 Thread Patrick Connolly
version _ platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major2 minor2.1 year 2005

Re: [R] Regex engine types

2006-06-09 Thread Gabor Grothendieck
I get the same thing on Version 2.3.1 Patched (2006-06-04 r38279) but on R version 2.2.1, 2005-12-20 it gives character(0), as expected, so there is some change between versions of R. I am on Windows XP. On 6/9/06, Patrick Connolly [EMAIL PROTECTED] wrote: version _ platform