Thanks Gabor for your invaluable help! I learned a lot.
--
View this message in context:
http://r.789695.n4.nabble.com/strapply-and-characters-adjacent-to-the-matched-pattern-tp4637673p4637939.html
Sent from the R help mailing list archive at Nabble.com.
___
On Wed, Jul 25, 2012 at 4:34 PM, mdvaan wrote:
> Thanks Gabor. That worked really well. I have been reading about the use of
> POSIX and regular expressions and I tried to use your example to see if I
> could ignore all matches in which the character preceding (rather than
> following) the match
Thanks Gabor. That worked really well. I have been reading about the use of
POSIX and regular expressions and I tried to use your example to see if I
could ignore all matches in which the character preceding (rather than
following) the match is one of [:alpha:]? So far, I have been unsuccessful.
C
On Tue, Jul 24, 2012 at 5:06 PM, mdvaan wrote:
> Hi,
>
> In the example below, one of the searched patterns "SE" is matched in the
> word "second". I would like to ignore all matches in which the character
> following the match is one of [:alpha:]. How do I do this without removing
> the "ignore.c
list1
[[1]]
[1] "Santa Fe Gold Corp"
[[2]]
[1] "Starpharma Holdings"
A.K.
- Original Message -
From: mdvaan
To: r-help@r-project.org
Cc:
Sent: Tuesday, July 24, 2012 5:06 PM
Subject: [R] strapply and characters adjacent to the matched pattern
Hi,
In the example be
Hi,
In the example below, one of the searched patterns "SE" is matched in the
word "second". I would like to ignore all matches in which the character
following the match is one of [:alpha:]. How do I do this without removing
the "ignore.case = T" argument of the strapply function? Thank you very
6 matches
Mail list logo