At the moment, inner and outer flags are only checked to be `matched`, it would be nice to have a feature to allow `!matched`.