1//General functions for a lot of plugins 2//Returns true if the email is well formed 3function check_email( cadena ) { 4 var answer=false; 5 var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/; 6 if (filter.test(cadena)) { 7 answer=true; 8 } 9 return answer; 10} 11 12//Returns true if there is an email is in the text 13function email_intext ( cadena ) { 14 var answer=false; 15 var emailsArray = cadena.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi); 16 if (emailsArray) 17 answer=true; 18 return answer; 19}
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.