Fix the boundary condition on target links

fixes #25

The problem was that \b next to a literal ] will never match because
] is itself a \b.

So we need to test for ] followed by ^].

Feh.
release 1.2.7