Knockout extender for the "pattern" validation constraint.