- Added required_pattern_length attribute.