proposal for handling substitutions

Looks for a deletion immediately followed by an addition and regexes in the substitution tag.
Merge pull request #1 from jona-sassenhagen/patch-1

proposal for handling substitutions