Changeset 457

Timestamp:
09/01/2007 05:19:41 AM (15 months ago)
Author:
Geert
Message:
  • valid_email() function added to Validation library
  • E-mail addresses like foo@… (hyphen at the beginning of domain) do not validate anymore
  • The CI regex got rewritten and does not suffer of 'exponential matching' anymore. Basically exponential matching is caused by having multiple repeating quantifiers, like star or plus, after each other. In case of an invalid e-mail, it took a long time before the regex would fail. The longer the e-mail the longer it took because with every character the amount of candidates doubles.
Files:
1 added