[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Special characters in patterns: what about \?
- From: Frank Küster <frank@...>
- Date: Wed, 27 Jun 2007 17:46:22 +0200
"Mauro Iazzi" <mauro.iazzi@gmail.com> wrote:
> The backslash is still considered escape at string constructor level.
> It is discarded before it arrives to gsub. Then gsub does not even
> know it was there and interprets the ^ as negating next char (it needs
> at least one). Anytime you want a backslash in a string just insert it
> twice.
Ah, indeed. I should once more read the manual from the beginning...
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)