fix mistake of deletetion
fix regex and add more source to the last (multiline) block
add print_r instead of var_dump