igorescobar/jQuery-Mask-Plugin — pull request #147 by sonarsphere (2014-04-30 07:02:15+00:00)
Title: Bug in calculating difference between mask characters between old and new field values

A problem was noticed with the calculation of the difference between new and old mask count. This resulted in the caret being placed incorrectly when a mask character was added.

Re-masking was also not calculating the caret correctly

This pull request should fix it.