Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since the contact information is free form, after the contact information has been obtained it will be necessary to parse it to extract the valid email address(es). The module to do this should extract the userid before the @ symbol and the host name that follows the @ symbol. These should be validated to ensure the ID and name are correct. I believe the following regular expression can be used to check the hostname:

Code Block

$hostname=~/(([a-z0-9]+|([a-z0-9]+[-]+[a-z0-9]+))[.])+/

Or look at http://regexlib.com/DisplayPatterns.aspx you may be able to find a  more complete solution

The  The modification would be needed in checkdata_gif.pl. It may be simpler in many cases to clean up the formatting of the email addresses in NODEDETAILS.

...