correctly adding in regular expression changes to pathsim_analysis.py