mnichols/jquery-constrain — pull request #1 by dholyfieldWA (2012-05-22 14:40:38+00:00)
Title: Bugfix for match function

Great plugin! I ran into one problem when using it - when allowing a regex, without any characters specified as well, I received an error when constrain tries to call carChodeAt on the array of characters. I corrected this by simply checking that the array had length before attempting any operations on it.