Use ParseInfo.end instead of another variable
Added note where recursive replacements could go