added preliminary restriction regex.  matcher.py should be renamed