Small Fix for Patterns substitutions

It's now possible define patterns with repeated chars, such as '___'. Plus, the small-delete `"-` buffer doesn't change anymore (that was quite bothersome!)