in reply to Re: Regular expression seems to be greedy
in thread Regular expression seems to be greedy
I think that's just another aspect of the same problem. Having got into trouble by attacking HTML with a regex...
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print
|
|---|