Sha256: 70849459158f775c886bf15d613a03cf0ce93ec615335fa4da213121420b82d6

Contents?: true

Size: 112 Bytes

Versions: 7

Compression:

Stored size: 112 Bytes

Contents

function validate_regex(v, pattern){
    var regex = new RegExp(pattern);
    return regex.test(v);          
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_forms-2.0.6 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js
erp_forms-2.0.5 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js
erp_forms-2.0.4 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js
erp_forms-2.0.3 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js
erp_forms-2.0.2 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js
erp_forms-2.0.1 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js
erp_forms-2.0.0 public/javascripts/erp_app/shared/dynamic_forms/dynamic_forms_validation.js