Patterns property throws error too readily