Bugfix in creating character matchers