Skip to content

Commit

Permalink
fixed the aho corasick doctest again
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-schanz committed Jul 24, 2023
1 parent 64a8871 commit 5e55c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic/AhoCorasick.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ julia> keywords = [[1, 2, 3, 4], [1, 5, 4], [4, 1, 2], [1, 2]];
julia> aut = Generic.aho_corasick_automaton(keywords);
julia> result = Generic.search(aut, [10, 4, 1, 2, 3, 4])
AhoCorasickMatch(6, 1, [1, 2, 3, 4])
AbstractAlgebra.Generic.AhoCorasickMatch(6, 1, [1, 2, 3, 4])
julia> Generic.last_position(result)
6
Expand Down

0 comments on commit 5e55c87

Please sign in to comment.