Doh! You are right. I missed that one somehow. He's also trying to solve a slightly different problem. I can skip the stiff in the quotes (href="..."). I want to skip the stuff beteen <a href="..."> and </a>. I also forgot that I will be doing this inside of an XML::Parser. So I will know when I'm inside the tag. (That's what I get for trying to test new ideas in a seperate program :) )
I am still interested in how this would work using a regex (or two or three). The node you linked didn't mention much in the comments on how to do that. I don't think the solutions mentioned there would work. I suspect some very fun lookahead and/or lookbehind stuff but I have not used those options before.
PerlStalker
In reply to Re: Re: Linking words in html to glossary.
by PerlStalker
in thread Linking words in html to glossary.
by PerlStalker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |