in reply to matching operator question
I don't see what makes the second b in your example the "last" matched character. Matched against what? What is the matching criterion you are using?
Update: BTW, your post suggests that you do not understand the syntax for the s/// operator, which suggests that you don't understand Perl regular expressions at all. I doubt that any answer you get will do you any good until you understand at least the rudiments of regular expressions in Perl. Please read perlretut. You will probably be able to answer your own question then.
the lowliest monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: matching operator question
by redss (Monk) on May 13, 2005 at 20:57 UTC | |
by tlm (Prior) on May 13, 2005 at 21:41 UTC |