Stricter RE for linkref-block.

Disallow \n in the name (and the URI). Otherwise, potential to match
and consume things that aren't linkrefs.