6622: Change regular expression rules to use search rather than match

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21976 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Remove unnecessary (and broken in Py3) import

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@21977 4ae1f11a-8b86-4847-b8af-ab372f36d1fd