1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
6 <style type=
"text/css">
9 font-family: verdana
, sans-serif
;
29 text-decoration:underline
;
34 text-decoration: none
;
47 border-bottom-width:1px;
48 border-bottom-style:dotted
;
64 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
67 <big><tt>Global.String.prototype.isEmail
()
</tt></big><br>
73 returns true if the string looks like an e-mail
<br><br>
87 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
89 <td>Sourcecode in /root/helma-
1.6.1/modules/core/String.js:
90 <pre><font color=
"#aaaaaa">520:
</font> String.prototype.isEmail = function() {
91 <font color=
"#aaaaaa">521:
</font> return String.EMAILPATTERN.test(this);
92 <font color=
"#aaaaaa">522:
</font> }