[prev in list] [next in list] [prev in thread] [next in thread]
List: r-help
Subject: [R] grep help (character ommission)
From: Johannes Graumann <johannes_graumann () web ! de>
Date: 2013-05-01 8:37:58
Message-ID: klqk58$2it$1 () ger ! gmane ! org
[Download RAW message or body]
Hello,
Banging my head against a wall here ... can anyone light the way to a
pattern modification that would make the following TRUE?
identical(
grep(
"^Intensity\\s[^HL]",
c("Intensity","Intensity L", "Intensity H", "Intensity Rep1")),
as.integer(c(1,4)))
Thank you for your time.
Sincerely, Joh
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic