next : FILE_REGEXP should not assume ascii nor even unicode letters, just anything not a .

This commit is contained in:
bth 2026-01-28 13:22:36 -08:00
commit 78d33ae62d

View file

@ -18,7 +18,7 @@ const (
SUMMARY = "create the next um file and open with emacsclient" 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) var fileRegexp *regexp.Regexp = regexp.MustCompile(FILE_REGEXP)