Displaying 1 result from an estimated 1 matches for "abcfoo".
Did you mean:
abcddo
2004 Nov 19
3
how to get to interesting part of pattern match
...t;interesting" part in () and get it out of the
match. Is it possible to do a similar thing in R?
There seems to be a way to refer to the match, see below, but I couldn't
figure out how to make gsub return it.
> gsub("[./](*.)", "\\1", "abc/foo")
[1] "abcfoo"
Thanks,
Vadim