add a way to escape question mark while replacing question mark by a dollar sign

solve #30