code: function (amNames, pmNames) {
  				var markers = [];
  				if (amNames) {
  					$.merge(markers, amNames);
  				}
  				if (pmNames) {
  					$.merge(markers, pmNames);
  				}
  				markers = $.map(markers, function (val) {
  					return val.replace(/[.*+?|()\[\]{}\\]/g, '\\$&');
  				});
  				return '(' + markers.join('|') + ')?';
  			}
docs: pattern for standard and localized AM/PM markers