From c32521b94b84ba0ec39838f50a054f632e2ff6af Mon Sep 17 00:00:00 2001 From: bth Date: Thu, 27 Aug 2026 10:28:31 -0700 Subject: [PATCH] next : FILE_REGEXP : allow midfix dots --- next/next.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"