Skip to content

Commit

Permalink
Email address can contain + and _
Browse files Browse the repository at this point in the history
  • Loading branch information
flurdy committed Aug 25, 2012
1 parent 00948f3 commit 0c60846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/Participant.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ case class Participant(

object Participant {

val ValidEmailAddress = """^[0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9}$""".r
val ValidEmailAddress = """^[0-9a-zA-Z]([+-_\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9}$""".r

val DateFormat = new SimpleDateFormat("yyyy-MM-dd")

Expand Down

0 comments on commit 0c60846

Please sign in to comment.