[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: gsub strangeness
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 29 Aug 2002 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