_form_hidden_inputs
1. Prevent .+ and .* 2. Use [^>]+ instead of spaces for HTML tags 3. Remove unnecessary trailing parts
'step' parameter is added in Python 2.7