changes to regex_scratch.py