next : FILE_REGEXP : allow midfix dots
This commit is contained in:
parent
cb0e0b4d6a
commit
c32521b94b
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ const (
|
||||||
NEXT_NUM_ERROR = "failed to find number in last file"
|
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.
|
// TODO: consider supporting a config file, since my preference for dots here is not precisely ISO8601.
|
||||||
const DATE_FORMAT = "2006.01.02"
|
const DATE_FORMAT = "2006.01.02"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue