Re: gsub strangeness
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: gsub strangeness
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2002年8月29日 10:48:15 -0300
Anchoring at the beginning works but anchoring at the end does not, though.
> print(gsub("string", "^.*", "x"))
x 1
> print(gsub("string", ".*$", "x"))
xx 2
--lhf