make 'regExpPath' to do a true RegExp replace
Merge pull request #1 from SongPeng/master

make 'regExpPath' to do a true RegExp replace