Hi,
I'd like to convert a text file to tex. One thing I encounter is that
there are lots of dialogues, and I want to transform to `` ''
properly. I try to use s/([^]*)/``$1/gs but it doesn't work
correctly. Any ideas?
Regards,
--
Zeng Nan
Simple is Beautiful
Thanks all. I have figured it out. I should have used `undef $/' at the
beginning so that the whole file is treated as a string.
--
Zeng Nan
Simple is Beautiful.
PGP Key: http://hobbit.homeunix.org
pgpkkAaQGvqEE.pgp
Description: PGP signature
using a space? I hope I have made myself understood.
--
Zeng Nan
Simple is Beautiful.
PGP Key: http://hobbit.homeunix.org
pgpYnph63Kr46.pgp
Description: PGP signature
/\d+$/456/
It will substitute the last set of digits and doesn't care if you do
or don't have the spaces.
Thanks to all. Now I know how to do it.
--
Zeng Nan
Simple is Beautiful.
PGP Key: http://hobbit.homeunix.org
pgpEgvNZmQJNW.pgp
Description: PGP signature
, as it is the last expression
being evaluated, is it correct?
Thanks in advance.
--
Zeng Nan
Simple is Beautiful.
PGP Key: http://hobbit.homeunix.org
pgpTSqHV50Dji.pgp
Description: PGP signature
Hi,
As said in Learning Perl, a perl identifier is a letter or
underscore, and then possibly more letters, or digits, or underscores.
Because of this, $123 is an invalid name, but why $000 or $00 works?
Regards,
--
Zeng Nan
Simple is Beautiful.
PGP Key: http
According to Learning Perl, a variable name should be a letter or
underscore, and then possibly more letters, or digits, or underscores.
But why $000 or $ works?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Thu, Nov 18, 2004 at 02:15:45PM +0100, Ing. Branislav Gerzo wrote:
Zeng Nan [ZN], on Thursday, November 18, 2004 at 13:43 (+0800) wrote
these comments:
ZN As said in Learning Perl, a perl identifier is a letter or
ZN underscore, and then possibly more letters, or digits, or underscores