Newsgroups: fj.lang.perl
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!sinfony-news01!news.kddnet.ad.jp!news.dvlp.kddnet.ad.jp!news.cs.ritsumei.ac.jp!kuis-news!sakura.kudpc!sakunami!yagi!news
From: "YOSHIFUJI, Hideaki" <sd96249@ec.ecei.tohoku.ac.jp>
Subject: Re: <CR> to <LF> wo okikaetai
X-Nntp-Posting-Host: eiw02.ec.ecei.tohoku.ac.jp
Content-Type: text/plain; charset=iso-2022-jp
Message-ID: <3337A3A3.5ADC@ec.ecei.tohoku.ac.jp>
Sender: news@ecei.tohoku.ac.jp
Reply-To: sd96249@ec.ecei.tohoku.ac.jp
Content-Transfer-Encoding: 7bit
Organization: Faculty of Engineering, Tohoku University, JAPAN
References: <5h6esh$k69@news.tokyo.mbn.or.jp> <33371EFC.6421@ec.ecei.tohoku.ac.jp>
Mime-Version: 1.0
Date: Tue, 25 Mar 1997 10:06:27 GMT
X-Mailer: Mozilla 3.01 (Win95; I)
Lines: 23
Xref: galaxy.trc.rwcp.or.jp fj.lang.perl:1842
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=1842&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B5HF#1QL@!wElKLBg3XEE>p7O$G$9!#<+8J%U%)%m!<!#(B

YOSHIFUJI, Hideaki wrote:
> $value =~ s/[\r\n]+$//;

$B?2$\$1$F$^$7$?!#?=$7Lu$J$$!#(B


$value =~ s/[\r\n]+/<BR>/g;

$BJ#?t2~9T$K:$$k$J$i(B

$value =~ s/\r\n|\n\r/\n/g;
$value =~ s/\r|\n/<BR>/g;

$B$G$I$&$G$7$g$&!)(B
$B!t7k6I!"$$$C$?$sCV$-49$($F$$$k$s$@$1$I!#(B

-- 
$B5HF#1QL@(B (YOSHIFUJI, Hideaki)
Faculty of Engineering, Tohoku University, JAPAN

http://www.ec.ecei.tohoku.ac.jp/~sd96249/YoshifujiH/
