(refactor) removed regex requirement from lib and parser