Added more testcases to InitRegex. It's currently failing on nested pluses which needs to be fixed.