validate digit map patterns