-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SignUpPage] 커스텀 Input 컴포넌트를 공통 Input 컴포넌트로 교체 (#375)
* add : 출생 연도 정규식 추가 * refactor : 커스텀 Input을 공통 Input 컴포넌트로 변경
- Loading branch information
1 parent
798bef3
commit 4d55253
Showing
2 changed files
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export const REGEX = { | ||
NOT_EMPTY: /.+/, | ||
ONLY_NUMBER: /[^0-9]/g, | ||
BIRTH_YEAR: /^(19[0-9]{2}|200[0-9]|201[0-9]|202[0-4])$/, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters