next : FILE_REGEXP should not assume ascii nor even unicode letters, just anything not a .
This commit is contained in:
parent
66880a32d9
commit
78d33ae62d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue