Now what about <a id="foo" href="...">...
I would have mentioned \s+ if that's all that was needed.
In reply to Re^4: bareword error by ikegami in thread bareword error by batmanor