Dom scanning

- reg ex was 0 when true, and 1 when false
- scanner location was wrong when checking for closing tag '>' was still in the match check