nette/nette — pull request #1349 by xificurk (2014-01-12 18:20:10+00:00)
Title: TextInput: Export pattern, min and max attributes only if the input type allows them

Not all types of inputs allow pattern, min and max attributes (see http://www.w3.org/TR/html5/forms.html#input-type-attr-summary). Furthermore, regular expression in pattern attribute is now exported as anchored to make it consistent with Nette validation.