removal of regex lib