From 78d33ae62d59391a0e9b86ddaad8c40e365fda4f Mon Sep 17 00:00:00 2001 From: bth Date: Wed, 28 Jan 2026 13:22:36 -0800 Subject: [PATCH] next : FILE_REGEXP should not assume ascii nor even unicode letters, just anything not a . --- next/next.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next/next.go b/next/next.go index f012758..5717839 100644 --- a/next/next.go +++ b/next/next.go @@ -18,7 +18,7 @@ const ( SUMMARY = "create the next um file and open with emacsclient" ) -const FILE_REGEXP = `(?m)^([0-9]+)\.[[:alpha:]]*\.*md$` +const FILE_REGEXP = `(?m)^([0-9]+)\.[^\.]*\.*md$` var fileRegexp *regexp.Regexp = regexp.MustCompile(FILE_REGEXP)