1$('document').ready(function() { 2 let inputs = $('.main_page_container, #request-information-modal, #calendarForm').find('input[type=text], input[type=email], input[type=number], textarea'); 3 inputs.map(function() { 4 if($(this).attr('name').search("name") !== -1) { 5 $(this).bind('input',function() { 6 var node = $(this); 7 node.val(node.val().replace(/[^a-zA-Z' ']/g, '') ); } // (/[^a-z]/g,'' 8 ); 9 } else if($(this).attr('name').search("lastname") !== -1) { 10 $(this).bind('input',function() { 11 var node = $(this); 12 node.val(node.val().replace(/[^a-zA-Z' ']/g, '') ); } // (/[^a-z]/g,'' 13 ); 14 } else { 15 $(this).bind('input',function() { 16 var node = $(this); 17 node.val(node.val().replace(/[^a-zA-Z0-9 _+.,?!<>() {};~:`=&*^%$#@\/\[\]\"\'\-\\\\\r\n]/g, '') ); } 18 ); 19 } 20 }); 21}); 22 23 24
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.