add replace statement
fix a bug that not include replace in doc
add replace test case in unit test
Merge pull request #19 from lucemia/dev

add replace statement