in reply to REGEX different on Linux & Win32!
Anyway, I refuse to believe this is a OS issue. But what I do believe is that's Perl version issue. Given that the code is in the file x.pl:
$ /opt/perl/5.8.0/bin/perl x.pl <<< HTML1 >>> <<< CODE1 >>> <<< HTML2 >>> <<< CODE2 >>> <<< HTML3 >>> $ /opt/perl/5.6.1/bin/perl x.pl <<< HTML1 >>> <<< CODE1 >>> <<< HTML3 >>> $ /opt/perl/5.6.0/bin/perl x.pl <<< HTML1 >>> <<< CODE1 >>> <<< HTML2 >>> <<< CODE2 >>> <<< HTML3 >>> $ /opt/perl/5.005_03/bin/perl x.pl <<< HTML1 >>> <<< CODE1 >>> <<< HTML2 >>> <<< CODE2 >>> <<< HTML3 >>>
So, it's my guess that the Linux box you tried this on has perl 5.6.1 installed, and the Windows box has either a later or an older version of Perl installed.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: REGEX different on Linux & Win32!
by gmpassos (Priest) on Feb 24, 2003 at 23:47 UTC |