in reply to Re^2: Regex Grumblings (Variable Interpolation)
in thread Regex Grumblings (Variable Interpolation)
Of course it dosen't. $ within a regex means End-Of-Line. And trying to match something (nonempty) after the end of the line is not successful within a single line match.
(But I have to admit, I had to run Perl for this and then stare at the output for some time)
Update: I can't confirm jeroenes' findings with Perl 5.003 under solaris. I only get one bar printed and no substitution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex Grumblings (Variable Interpolation)
by tadman (Prior) on May 23, 2001 at 17:42 UTC | |
by Anonymous Monk on May 23, 2001 at 21:22 UTC |