Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegExp (0.15 sec)

  1. .cm/plugins/filters/byCodeowner/ignore/index.js

    const define = (object, key, value) =>
        Object.defineProperty(object, key, {value})
    
    const REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g
    
    const RETURN_FALSE = () => false
    
    // Sanitize the range of a regular expression
    // The cases are complicated, see test cases for details
    const sanitizeRange = range => range.replace(
        REGEX_REGEXP_RANGE,
        (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0)
            ? match
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/security.js

    ray("amex",g)>-1,d=e&&1===g.length,g.length>0){var h=!1;if(a.each(g,function(d,e){if(e in c){if(b.length>=c[e][0]&&b.length<=c[e][1])return h=!0,!1}else a.formUtils.warn('Use of unknown credit card "'+e+'"',!0)}),!h)return!1}if(""!==b.replace(new RegExp("[0-9]","g"),""))return!1;var i=0;return a.each(b.split("").reverse(),function(a,b){b=parseInt(b,10),a%2===0?i+=b:(b*=2,i+=b<10?b:b-9)}),i%10===0},errorMessage:"",errorMessageKey:"badCreditCard"}),a.formUtils.addValidator({name:"cvv",validatorFun...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 10.5K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    return new RegExp(i).test(b)},errorMessage:"",errorMessageKey:""}),a.formUtils.addValidator({name:"custom",validatorFunction:function(a,b){var c=new RegExp(b.valAttr("regexp"));return c.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"}),a.formUtils.addValidator({name:"date",validatorFunction:function(b,c,d){var e=c.valAttr("format")|...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 32.8K bytes
    - Viewed (0)
Back to top