email validation regex
/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/
11381 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Stephane BRUN www.sbnet.fr
/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/
if($_SERVER["HTTP_X_REQUESTED_WITH"] == 'XMLHttpRequest') { // Called from XMLHttpRequest }
RAILS_ENV = ARGV[0] || 'development' require File.dirname(__FILE__) + '/../config/environment'