diff --git a/org/headline.go b/org/headline.go index 88e317b..c306aec 100644 --- a/org/headline.go +++ b/org/headline.go @@ -31,7 +31,7 @@ type Headline struct { } var headlineRegexp = regexp.MustCompile(`^([*]+)\s+(.*)`) -var tagRegexp = regexp.MustCompile(`(.*?)\s+(:[A-Za-z0-9_@#%:]+:\s*$)`) +var tagRegexp = regexp.MustCompile(`(.*?)\s+(:[\p{L}0-9_@#%:]+:\s*$)`) func lexHeadline(line string) (token, bool) { if m := headlineRegexp.FindStringSubmatch(line); m != nil {