corrected some regexs
Merge pull request #4 from tanmaykm/preproc

corrected some regexs