Support for the pattern option