[Rd] regexp with [:upper:] (PR#11032)

mark.bravington at csiro.au mark.bravington at csiro.au
Tue Mar 25 05:50:04 CET 2008


Full_Name: Mark Bravington
Version: 2.6.2 patched
OS: Windows XP Pro
Submission from: (NULL) (140.79.22.104)


> grep( '[:upper:]', letters, val=T) # shurely shouldn't match anything ??
[1] "e" "p" "r" "u"

The converse ( '[:lower:]' and LETTERS) seems to work OK.

--please do not edit the information below--

Version:
 platform = i386-pc-mingw32
 arch = i386
 os = mingw32
 system = i386, mingw32
 status = Patched
 major = 2
 minor = 6.2
 year = 2008
 month = 03
 day = 21
 svn rev = 44836
 language = R
 version.string = R version 2.6.2 Patched (2008-03-21 r44836)

Windows XP (build 2600) Service Pack 2

Locale:
LC_COLLATE=English_Australia.1252;LC_CTYPE=English_Australia.1252;LC_MONETARY=English_Australia.1252;LC_NUMERIC=C;LC_TIME=English_Australia.1252

Search Path:
 .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils,
package:datasets, package:methods, Autoloads, pa



More information about the R-devel mailing list