[HOTFIX] Fix #834 QRegExpValidator needs reference to the element regex will be applied into

See here for some references:
http://nullege.com/codes/search/PyQt4.QtGui.QRegExpValidator