From: Ron Newman <[EMAIL PROTECTED]>
Date: Tue, 20 Apr 2004 23:06:12 -0400
If I try to match a regular expression that contains parentheses, and
the match fails, shouldn't $1 be set to undef rather than keeping
whatever value it had before?
Nope. It will still have its old valu
If I try to match a regular expression that contains parentheses, and
the match fails, shouldn't $1 be set to undef rather than keeping
whatever value it had before? The following program demonstrates what
looks to me like very strange behavior. Adding "local $1 = undef;" in
the position sh
2 matches
Mail list logo