All the regexp that are looking for tags are now case sensitive (Issue #144).

I did not replace the functions looking for trivial things like spaces and `<`. I have a failing test that passes after this fix, but I'll commit it separately as it is part of the ruby test suite.