Skip to content

Commit

Permalink
Hide capture group
Browse files Browse the repository at this point in the history
No need to capture this data.
  • Loading branch information
boekkooi-lengoo committed Jan 8, 2024
1 parent f673ca6 commit dd7af11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/radixtree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ local function fetch_pat(path)
end
table.insert(names, name)
-- '.' matches any character except newline
res[i] = [=[((.|\n)*)]=]
res[i] = [=[((?:.|\n)*)]=]
end
end

Expand Down

0 comments on commit dd7af11

Please sign in to comment.