in reply to
Re: Global regex giving up too soon
in thread Global regex giving up too soon
For the given example string, there's only one "href", so the /g is pointless as well.
I figured that was my problem. That's why I tried using /c, but I couldn't find a good description of how it worked. So basically, I guess there is no way to get /g to look over the entire regex, so I'll have to use while $& or establish that there's an href earlier so I don't have to use it in the regex.
Anyway, thanks for not telling me to use a module!