Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegexpExcelDaynum = regexp.MustCompile(`^\d{5}$`)
RegexpExcelDaynum 레귤러 익스프레션은 1899-12-31 부터 지난날수에 대한 레귤러 익스프레션이다.
View Source
var RegexpMDD = regexp.MustCompile(`^([1-9])(0?[1-9]|[12][0-9]|3[01])$`) // 101, 110"
RegexpMDD 레귤러 익스프레션은 MDD 패턴의 날짜를 처리한다.
View Source
var RegexpMMDD = regexp.MustCompile(`^(0?[1-9]|1[012])\D\s?(0?[1-9]|[12][0-9]|3[01])\D?\s?$`) // 10/19, 10-19, 10.10. 1.1 1.1. "1. 1."
RegexpMMDD 레귤러 익스프레션은 MM*DD 패턴의 날짜를 처리한다.
View Source
var RegexpMMDDYYYY = regexp.MustCompile(`^(0?[1-9]|1[012])\D\s?(0?[1-9]|[12][0-9]|3[01])\D\s?\d{4}\D?\s?$`) // 10-19-2016, 10/19/2016, 10.19.2016, 10. 19. 2016.
RegexpMMDDYYYY 레귤러 익스프레션은 MM*DD*YYYY 패턴의 날짜를 처리한다.
View Source
var RegexpSix = regexp.MustCompile(`^\d{2}\D\s?(0[1-9]|[12][0-9]|3[01])\D\s?\d{2}\D?\s?$`) // 16-10-19, 16/10/19, 16.10.19, 16.10.19. 16. 10. 10.
RegexpSix 레귤러 익스프레션은 YY*MM*DD* 패턴의 날짜를 처리한다.
View Source
var RegexpYYYYMMDD = regexp.MustCompile(`^\d{4}\D\s?(0?[1-9]|1[012])\D\s?(0?[1-9]|[12][0-9]|3[01])\D?\s?$`) // 2016-10-19, 2016/10/19, 2016.10.19, 2016.10.19. 2016. 10. 10.
RegexpYYYYMMDD 레귤러 익스프레션은 YYYY*MM*DD* 패턴의 날짜를 처리한다.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.