We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51ed95f commit 122c534Copy full SHA for 122c534
lua/orgmode/files/elements/search.lua
@@ -339,7 +339,7 @@ end
339
---@return OrgTagMatch?, string
340
function TagMatch:parse(input)
341
local tag
342
- tag, input = parse_pattern(input, '[%w_@#%%]+')
+ tag, input = parse_pattern(input, '[\128-\255%w_%%@#]+')
343
if not tag then
344
return nil, input
345
end
lua/orgmode/utils/init.lua
@@ -245,7 +245,7 @@ end
245
function utils.parse_tags_string(tags)
246
local parsed_tags = {}
247
for _, tag in ipairs(vim.split(tags or '', ':')) do
248
- if tag:find('^[%w_%%@#]+$') then
+ if tag:find('^[\128-\255%w_%%@#]+$') then
249
table.insert(parsed_tags, tag)
250
251
0 commit comments