Replace email/url regexp with a much simpler one
Make sure the compilation is done for java 1.6