Vadim Ogranovich wrote:
Hi,
I am looking for a way to extract an interesting part of the match to
a regular expression. For example the pattern [./](*.) matches a
substring that begins with either . or / followed by anything. I am
interested in this anything w/o the . or / prefix. If say I match
sub(.*/, , abc/foo)
[1] foo
Jean
On Thu, 18 Nov 2004, Vadim Ogranovich wrote:
Hi,
I am looking for a way to extract an interesting part of the match to
a regular expression. For example the pattern [./](*.) matches a
substring that begins with either . or / followed by anything. I am
Vadim Ogranovich vograno at evafunds.com writes:
: I am looking for a way to extract an interesting part of the match to
: a regular expression. For example the pattern [./](*.) matches a
: substring that begins with either . or / followed by anything. I am
: interested in this anything w/o the