Skip to content

Commit eda34bd

Browse files
authored
Merge pull request #14 from JuliaString/spj/fixgetstr
Fix _get_str
2 parents 10a5464 + f349eb5 commit eda34bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Unicode_Entities.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ end
9999

100100
function StrTables.lookupname(tab::Unicode_Table, str::AbstractString)
101101
rng = searchsorted(tab.nam, uppercase(str))
102-
isempty(rng) ? StrTables._empty_str : _get_str(tab, tab.ind[rng.start])
102+
isempty(rng) ? StrTables._empty_str : StrTables._get_str(tab, tab.ind[rng.start])
103103
end
104104

105105
StrTables.matches(tab::Unicode_Table, vec::Vector{T}) where {T} =
@@ -108,7 +108,7 @@ StrTables.matches(tab::Unicode_Table, vec::Vector{T}) where {T} =
108108
StrTables.longestmatches(tab::Unicode_Table, vec::Vector{T}) where {T} =
109109
isempty(vec) ? StrTables._empty_str_vec : matchchar(tab, uppercase(vec[1]))
110110

111-
function StrTables.completions(tab::Unicode_Table, str)
111+
function StrTables.completions(tab::Unicode_Table, str::AbstractString)
112112
up = uppercase(str)
113113
[nam for nam in tab.nam if startswith(nam, up)]
114114
end

0 commit comments

Comments
 (0)