tpl: form_row regexp upgrade, unit test added