diff --git a/next/next.go b/next/next.go index 8877484..a80ec39 100644 --- a/next/next.go +++ b/next/next.go @@ -21,7 +21,7 @@ const ( NEXT_NUM_ERROR = "failed to find number in last file" ) -const FILE_REGEXP = `(?m)^([0-9]+)\.[^\.]*\.*md$` +const FILE_REGEXP = `(?m)^([0-9]+)\..*\.md$` // TODO: consider supporting a config file, since my preference for dots here is not precisely ISO8601. const DATE_FORMAT = "2006.01.02"