Added InitRegex.java to append () around regex and to convert + to *. Still needs some more testing.