Thanks for the response. I found this web page
(http://www.itworld.com/nl/perl/01112001/) right after I submitted my
question. It was great for explaining regexp's greediness.
1lt John W. Holmes wrote:
I have a script that turns certain words into links. That I am having
no problems with, it
> I have a script that turns certain words into links. That I am having
> no problems with, it is when I want to turn the links back in to plain
> text that I am having the problem. Below are my examples. And I know
> my regex is being greedy but I don't know how to stop it from being so
> damn
I have a script that turns certain words into links. That I am having
no problems with, it is when I want to turn the links back in to plain
text that I am having the problem. Below are my examples. And I know
my regex is being greedy but I don't know how to stop it from being so
damn greedy
3 matches
Mail list logo