Bug 1035267 - cannot use 'i' flag for RegExp match patterns

I think that test that the match pattern actually works with ignore case would be better; so just add a test in `testMatchPatternTestTrue` with a regexp that is case insensitive, and get rid of this `try / catch` here – that is also part of `testMatchPatternErrors` where everything throws.