From e41acb76c843dc72e120d8a5a78089d612cb597b Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 31 Aug 2013 08:17:25 -0400 Subject: [PATCH] oops, removed unfinished work re Check() --- cronexpression.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cronexpression.go b/cronexpression.go index eaae8cd..964842d 100644 --- a/cronexpression.go +++ b/cronexpression.go @@ -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.