Yes, it works fine for me! Thanks a lot!
Have a nice day. Lixin -----Original Message----- From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 5:42 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: regular expression question > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 4:38 PM > To: Stovall, Adrian M.; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: regular expression question > > > I tried that, it does not work for me! > > Lixin > This code should print "yes", if it does, then the code works for you... $line = 'Job "\nest and \toolbox VOBs" began execution on 9/6/02 at 2:00:11 AM.'; print "$line\n"; if ($line =~ m#\"\\nest and \\toolbox VOBs\"#) { print "yes"; } else { print "no"; } perl -e "sub Sub{return reverse(@_);}$i='ohce';$_='.$yyye k ca i Xl $yyye jX $yyyehto ZfX tq $uQ';s+[ \$]++g;s-j-P-;s^yyy^r^g;s:i:H:;s!X! !g;s|Z|n|;s*Q*J*;s{q}{s}g;s(f)(A);system(join('',Sub(split('',$i))),(joi n('',Sub(split('')))));" To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. Adrian "Okay, I won't top-post unless it's an emergency" Stovall _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs