add tests for character ranges in regexes