Thanks for the hint towards to libxml-ruby! I didn't even know it
existed. Can't see anything for character position but very happy
indeed. Will have a go at implementing it myself when poss..

cheers
-h

On Oct 8, 3:57 ¨Âí¬ Íáòë Ôèïíáó ¼í®®®Àôèïíáóúïîå®ãïí÷òïôåº
> On Oct 7, 1:36 ¨Âí¬ ÷òïôåº
>
> > Well, libxml stores the line number of every element. So you can
> > extract all links, check them, and print out element.line_num for each
> > one that fails the check.
>
> Oops, my example mistakenly used the XML parser, so replace that with
> XML::HTMLparser since you are parsing HTML.
>
> -- Mark.