Support maxlength and nonmatching reflections