package{
import flash.display.Sprite;
import flash.utils.*;
public class Main extends Sprite{
public function Main(){
var sEmail:String = new String("someone@someserver.com");
var reEmail:RegExp = new RegExp("^([\\w\\-\\.]+) ;@(([\\w\\-]{2,}\\.)+[\\w\\-]{2,3})$");
trace(reEmail.test(sEmail));
}
}
}