add regex to miner.forms.py and views.py