Make ORG-mode drawer "🔚" case-insensitivie
This commit is contained in:
parent
1cd3791386
commit
04fec98ffd
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ type PropertyDrawer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var beginDrawerRegexp = regexp.MustCompile(`^(\s*):(\S+):\s*$`)
|
var beginDrawerRegexp = regexp.MustCompile(`^(\s*):(\S+):\s*$`)
|
||||||
var endDrawerRegexp = regexp.MustCompile(`^(\s*):END:\s*$`)
|
var endDrawerRegexp = regexp.MustCompile(`(?i)^(\s*):END:\s*$`)
|
||||||
var propertyRegexp = regexp.MustCompile(`^(\s*):(\S+):(\s+(.*)$|$)`)
|
var propertyRegexp = regexp.MustCompile(`^(\s*):(\S+):(\s+(.*)$|$)`)
|
||||||
|
|
||||||
func lexDrawer(line string) (token, bool) {
|
func lexDrawer(line string) (token, bool) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue