Skip to content

Commit

Permalink
WW-4365 Solves problem with matching option id to headerKey
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Sep 16, 2014
1 parent e011096 commit 3447eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function compile(ptn) {
if (ptn == '' || !window.RegExp) {
return function(val) { return val == ptn; }
} else {
var reg = new RegExp(ptn);
var reg = new RegExp("\\b" + ptn);
return function (val) {
if (val == '') { // ignore empty option added by template
return true;
Expand Down

0 comments on commit 3447eef

Please sign in to comment.