in reply to Re: regex search valid only if registers n and n+1 are equal?
in thread regex search valid only if registers n and n+1 are equal?
while (<DATA>) { print if m/foo (\d+) bar (\d+)/ && $1 == $2; } __DATA__ foo 1000 bar 1000 foo 1000 bar 500
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regex search valid only if registers n and n+1 are equal?
by antirice (Priest) on Jul 01, 2006 at 06:26 UTC |