-----Original Message-----
From: Ron Newman [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 8:21 AM
To: Palit, Nilanjan
Cc: <[EMAIL PROTECTED]>
Subject: Re: [Boston.pm] Weird regex behavior?



On Aug 2, 2004, at 8:04 AM, Palit, Nilanjan wrote:

In each case, the actual $_ substitution occurs fine. Case A seems to
behave as expected. However, in case B, somehow $1 & $2 lose their value
once inside the {}.


This does not happen when I run your program with perl 5.8.1-RC3 on MacOS X 10.3.4 .
What version of perl are you using?


Palit, Nilanjan wrote:
> This is perl, version 5.004_04 built for i386_linux22
>
> Thanks,
>
> -Nilanjan

Works fine with perl 5.8.3 on linux, too.

Mike
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to