[pmwiki-users] Validating and appending data from Forms and Displaying

Peter & Melodye Bowers pbowers at pobox.com
Fri Mar 21 16:58:10 CDT 2008


>    if test ${address} ~= /^[a-zA-Z]\w*@[\w.]*$/
>    then
>       echo "Yep, looks like an email address"

Note that the regex above to validate the email address form is not even
close to what it needs to be.  If you're going to use it "live" it would
need to be significantly more robust...

-Peter




More information about the pmwiki-users mailing list