Fix incorrect rst substitution

In lines where the same role appeared twice,
the first without explicit title and the
second with it, it produced a wrong
substitution.

Make the regex looking for the anchor exclude
'<'

Change-Id: Ic7f7d77b0a49df122bfaea5eba15a5584ab804f9