Skip to content

Commit

Permalink
Merge 9613fda into 8ce56e1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax committed Jul 10, 2018
2 parents 8ce56e1 + 9613fda commit 4e133ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/js/components/petition/petition.jsx
Expand Up @@ -345,7 +345,7 @@ export default class Petition extends React.Component {
if (!input) {
return false;
}
return input.match(/[^@]+@[^@]+/) !== null;
return input.match(/[^@]+@[^.@]+(\.[^.@]+)+$/) !== null;
}

/**
Expand Down

0 comments on commit 4e133ad

Please sign in to comment.