oops, removed unfinished work re Check()

This commit is contained in:
gorhill 2013-08-31 08:17:25 -04:00
parent a22eb7d9e6
commit e41acb76c8
1 changed files with 0 additions and 12 deletions

View File

@ -45,18 +45,6 @@ type Expression struct {
/******************************************************************************/
// Check whether the cron expression `cronLine` is valid. If not valid, the
// index in the `cronLine` string at which there is an error is returned.
func Check(cronLine string) int {
// Split into fields
_ = regexp.MustCompile(`\s+`).Split(cronLine, -1)
return -1
}
/******************************************************************************/
// Parse() returns a new Expression pointer. It expects
// a well-formed cron expression. If a malformed cron expression is
// supplied, the result is undefined.