Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: stripping HTML tags with Perl
- To: tlug@example.com
- Subject: Re: stripping HTML tags with Perl
- From: Shimpei Yamashita <shimpei@example.com>
- Date: Wed, 6 Dec 2000 01:56:33 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <14892.18933.990298.358983@example.com>; from turnbull@example.com on Tue, Dec 05, 2000 at 10:50:45AM +0900
- References: <20001204133053G.poulin@example.com> <14892.18933.990298.358983@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <8nXFVB.A.C7C.y-RL6@example.com>
- Resent-Sender: tlug-request@example.com
On Tue, Dec 05, 2000 at 10:50:45AM +0900, Stephen J. Turnbull wrote: > "\r" is the Perl idiom for ASCII CR (0x0D). Only if you're on a Unix variant. It's 0x0A in MacPerl, and Ghod knows what in WinPerl. (This was done so that \n is always equivalent to that platform's EOL sequence. Don't shoot me, I'm just the messenger.) Granted, "Unix variant" is a reasonably safe assumption on the TLUG list, but you might as well be come truly cross-platformingly correct and learn to use \013 or \010 instead. -- Shimpei Yamashita http://www.shimpei.org/
- References:
- stripping HTML tags with Perl
- From: "Drew C. Poulin" <poulin@example.com>
- stripping HTML tags with Perl
- From: "Stephen J. Turnbull" <turnbull@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: stripping HTML tags with Perl
- Next by Date: Re: stripping HTML tags with Perl
- Prev by thread: Re: stripping HTML tags with Perl
- Next by thread: Re: stripping HTML tags with Perl
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links