Fixed some problems with regex near-infinte loops. Also changed print statements to logging statements
Fixed some problems with regex near-infinte loops. Also changed print statements to logging statements

magic-lantern/NLP_Project,magic-lantern/NLP_Project,magic-lantern/NLP_Project,magic-lantern/NLP_Project