in reply to Re^3: bareword error
in thread bareword error

Now what about <a id="foo" href="...">...

I would have mentioned \s+ if that's all that was needed.