File tree Expand file tree Collapse file tree
src/main/java/org/devhamzat/email Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Package
2+
3+ on :
4+ push :
5+ branches :
6+ - ' *'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ permissions :
13+ contents : read
14+ packages : write
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Set up JDK 17
19+ uses : actions/setup-java@v4
20+ with :
21+ java-version : ' 17'
22+ distribution : ' zulu'
23+
24+ - name : Publish package
25+ run : ./mvnw deploy
26+ env :
27+ GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1212public class Email implements ConstraintValidator <ValidateEmail , CharSequence > {
1313 private static final int MAX_LOCAL_PART_LENGTH = 64 ;
1414 private static final String LOCAL_PART_ATOM = "[a-z0-9!#$%&'*+/=?^_`{|}~\u0080 -\uFFFF -]" ;
15- private static final String LOCAL_PART_INSIDE_QUOTES_ATOM = "(?: [a-z0-9!#$%&'*.(),<>\\ [\\ ]:; @+/=?^_`{|}~\u0080 -\uFFFF -]|\\ \\ \\ \\ |\\ \\ \\ \" ) " ;
15+ private static final String LOCAL_PART_INSIDE_QUOTES_ATOM = "[a-z0-9!#$%&'*.(),<>\\ [\\ ]:; @+/=?^_`{|}~\u0080 -\uFFFF -]|\\ \\ \\ \\ |\\ \\ \" " ;
1616
1717 private static final Pattern LOCAL_PART_PATTERN = Pattern .compile (
1818 "(?:" + LOCAL_PART_ATOM + "+|\" " + LOCAL_PART_INSIDE_QUOTES_ATOM + "+\" )" +
You can’t perform that action at this time.
0 commit comments