mirror of
https://github.com/bitsofchris/openaugi-obsidian-plugin.git
synced 2026-07-22 05:46:42 +00:00
fix regex
This commit is contained in:
parent
aeb30ecb90
commit
3db73cfba2
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ ${content}
|
|||
.replace(/MM/g, '\\d{2}') // Replace MM with month pattern
|
||||
.replace(/DD/g, '\\d{2}'); // Replace DD with day pattern
|
||||
|
||||
return new RegExp(`^${pattern}\\s*$`, 'm');
|
||||
return new RegExp(`^${pattern}`, 'm');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue